forstok-ui-lib 8.5.7 → 8.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -670,7 +670,7 @@ const getTableItemWrapperModFunc = ({
|
|
|
670
670
|
} else if ($mode === "quotation") {
|
|
671
671
|
style += `
|
|
672
672
|
${TableItemColumn} {
|
|
673
|
-
grid-template-columns: auto minmax(100px, 300px) var(--qty-pd20-big) repeat(3, var(--price-pd20));
|
|
673
|
+
grid-template-columns: ${$isPopup ? "auto 150px var(--qty) var(--price) var(--status-small) 95px" : "auto minmax(100px, 300px) var(--qty-pd20-big) repeat(3, var(--price-pd20))"};
|
|
674
674
|
> div {
|
|
675
675
|
&:last-child,
|
|
676
676
|
&:nth-last-child(2),
|
|
@@ -51,6 +51,7 @@ const DropDownComponent = ({ children, title, subTitle, $externalWidth, $externa
|
|
|
51
51
|
|
|
52
52
|
const applyDropdownPlacement = (wrapperEl: HTMLElement, placement: 'top' | 'bottom') => {
|
|
53
53
|
if (placement === 'top') {
|
|
54
|
+
wrapperEl.style.animation = 'none'; // stop CSS animation from overriding top:auto
|
|
54
55
|
wrapperEl.style.top = 'auto';
|
|
55
56
|
wrapperEl.style.bottom = `${getOffsetValue($bottom, DEFAULT_BOTTOM_OFFSET)}px`;
|
|
56
57
|
return;
|
|
@@ -69,6 +70,7 @@ const DropDownComponent = ({ children, title, subTitle, $externalWidth, $externa
|
|
|
69
70
|
wrapperEl.style.right = '';
|
|
70
71
|
wrapperEl.style.transform = '';
|
|
71
72
|
wrapperEl.style.visibility = '';
|
|
73
|
+
wrapperEl.style.animation = '';
|
|
72
74
|
}
|
|
73
75
|
};
|
|
74
76
|
|