fix: PropertiesPopover maxWidth changing fixed units to relative units (#8456)

This commit is contained in:
zsviczian 2024-09-01 18:18:37 +02:00 committed by GitHub
parent 2d1d84a47b
commit b396e07b90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -106,7 +106,7 @@ const ColorPickerPopupContent = ({
return ( return (
<PropertiesPopover <PropertiesPopover
container={container} container={container}
style={{ maxWidth: "208px" }} style={{ maxWidth: "13rem" }}
onFocusOutside={(event) => { onFocusOutside={(event) => {
// refocus due to eye dropper // refocus due to eye dropper
focusPickerContent(); focusPickerContent();

View file

@ -387,7 +387,7 @@ body.excalidraw-cursor-resize * {
.App-menu__left { .App-menu__left {
overflow-y: auto; overflow-y: auto;
padding: 0.75rem; padding: 0.75rem;
width: 200px; width: 12.5rem;
box-sizing: border-box; box-sizing: border-box;
position: absolute; position: absolute;
} }