mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Make main menu full width on mobile again.
This commit is contained in:
parent
097000a2b7
commit
70d48d5472
5 changed files with 22 additions and 15 deletions
|
@ -3,6 +3,11 @@
|
|||
.excalidraw {
|
||||
[data-radix-popper-content-wrapper] {
|
||||
z-index: 1 !important;
|
||||
|
||||
@include isMobile {
|
||||
width: 100%;
|
||||
max-width: var(--radix-popper-available-width);
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
|
@ -30,15 +35,6 @@
|
|||
|
||||
&--mobile {
|
||||
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