Fix some issues caused by too aggressive refactor
This commit is contained in:
parent
011b268dde
commit
bd08bdf4c7
@ -18,14 +18,29 @@
|
||||
grid-template-columns: 1fr 20px 1.625rem;
|
||||
padding: 0.25rem 0px;
|
||||
align-items: center;
|
||||
|
||||
@include isMobile {
|
||||
max-width: 175px;
|
||||
}
|
||||
}
|
||||
|
||||
.color-picker__top-picks {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
#canvas-bg-color-picker-container {
|
||||
.color-picker__top-picks {
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.color-picker-container {
|
||||
@include isMobile {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.color-picker__button {
|
||||
--radius: 0.25rem;
|
||||
|
||||
|
@ -215,7 +215,10 @@ export const ChangeCanvasBackground = () => {
|
||||
>
|
||||
{t("labels.canvasBackground")}
|
||||
</div>
|
||||
<div style={{ padding: "0 0.625rem" }}>
|
||||
<div
|
||||
style={{ padding: "0 0.625rem" }}
|
||||
id="canvas-bg-color-picker-container"
|
||||
>
|
||||
{actionManager.renderAction("changeViewBackgroundColor")}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -62,7 +62,6 @@ const MainMenu = Object.assign(
|
||||
{HamburgerMenuIcon}
|
||||
</DropdownMenu.Trigger>
|
||||
<DropdownMenu.Content
|
||||
// style={{ zIndex: 11 }}
|
||||
sideOffset={device.isMobile ? 20 : undefined}
|
||||
className="main-menu-content"
|
||||
onClickOutside={onClickOutside}
|
||||
|
Loading…
x
Reference in New Issue
Block a user