mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Bunch of radix related fixes.
This commit is contained in:
parent
7d791b86f8
commit
c88f3c84eb
6 changed files with 32 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue