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