Fix some issues caused by too aggressive refactor

This commit is contained in:
barnabasmolnar 2023-07-24 16:35:56 +02:00
parent 011b268dde
commit bd08bdf4c7
3 changed files with 20 additions and 3 deletions

View File

@ -18,12 +18,27 @@
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;
gap: 0.5rem;
}
#canvas-bg-color-picker-container {
.color-picker__top-picks {
gap: 0.5rem;
}
.color-picker-container {
@include isMobile {
max-width: none;
}
}
}
.color-picker__button {

View File

@ -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>

View File

@ -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}