[CL-203] fix select options position (#8151)
* add relative to body * remove scrollbar positon hack
This commit is contained in:
parent
7cfe862aa6
commit
323d86850a
|
@ -4,6 +4,7 @@ html {
|
||||||
|
|
||||||
body {
|
body {
|
||||||
min-width: 1010px;
|
min-width: 1010px;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
&.layout_frontend {
|
&.layout_frontend {
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
|
|
|
@ -3,8 +3,3 @@
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
@import "../../../../libs/components/src/tw-theme.css";
|
@import "../../../../libs/components/src/tw-theme.css";
|
||||||
|
|
||||||
/* Prevent page from jumping when showing scrollbar */
|
|
||||||
html {
|
|
||||||
margin-right: calc(-100vw + 100%);
|
|
||||||
}
|
|
||||||
|
|
|
@ -202,7 +202,7 @@ summary.tw-list-none::-webkit-details-marker {
|
||||||
}
|
}
|
||||||
|
|
||||||
.cdk-global-scrollblock {
|
.cdk-global-scrollblock {
|
||||||
position: unset;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue