Skip to content

Commit

Permalink
Make ToolsPanel menu offset match color popovers
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Dec 7, 2023
1 parent f2e4e17 commit a6993f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export const STYLE_PATH_TO_PRESET_BLOCK_ATTRIBUTE = {
export const TOOLSPANEL_DROPDOWNMENU_PROPS = {
popoverProps: {
placement: 'left-start',
offset: 258, // sidebar width (280px) - button width (24px) + border (2px)
offset: 259, // Inner sidebar width (248px) - button width (24px) - border (1px) + padding (16px) + spacing (20px)
},
};

Expand Down

0 comments on commit a6993f7

Please sign in to comment.