Bunch of radix related fixes.

This commit is contained in:
barnabasmolnar 2023-04-18 16:39:23 +02:00
parent 7d791b86f8
commit c88f3c84eb
6 changed files with 32 additions and 16 deletions

View file

@ -6,7 +6,8 @@
}
.dropdown-menu {
position: absolute;
// position: absolute;
max-width: 250px;
.radix-menuitem {
&:focus-visible {
@ -15,15 +16,16 @@
}
&--mobile {
bottom: 55px;
top: auto;
left: 0;
// TODO barnabasmolnar/mainmenu-radix
// double check rendering/styling on mobile
// width: 100%;
display: flex;
flex-direction: column;
row-gap: 0.75rem;
max-width: none;
// bottom: 55px;
// top: auto;
// left: 0;
// // TODO barnabasmolnar/mainmenu-radix
// // double check rendering/styling on mobile
// // width: 100%;
// display: flex;
// flex-direction: column;
// row-gap: 0.75rem;
.dropdown-menu-container {
padding: 8px 8px;