[CL-203] fix select options position (#8151)

* add relative to body

* remove scrollbar positon hack
This commit is contained in:
Will Martin 2024-02-29 11:35:13 -05:00 committed by GitHub
parent 7cfe862aa6
commit 323d86850a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 6 deletions

View File

@ -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) {

View File

@ -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%);
}

View File

@ -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;
} }