Skip to content

Commit

Permalink
fix: 馃悰 menubar height bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Saul-Mirone committed Apr 14, 2022
1 parent 93c8265 commit fd841bc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/plugin-menu/src/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const select = (utils: Utils, config: SelectConfig, ctx: Ctx, view: Edito
${themeManager.get(ThemeBorder, 'right')}
${themeManager.get(ThemeBorder, 'left')}
.menu-selector {
.menu-selector {
border: 0;
box-sizing: unset;
cursor: pointer;
Expand All @@ -108,8 +108,9 @@ export const select = (utils: Utils, config: SelectConfig, ctx: Ctx, view: Edito
align-items: center;
color: ${palette('neutral', 0.87)};
display: flex;
padding: 0.5em;
padding: 0.25em;
margin: 0.5em;
height: 2em;
background: ${palette('secondary', 0.12)};
width: 10.375em;
Expand All @@ -125,12 +126,12 @@ export const select = (utils: Utils, config: SelectConfig, ctx: Ctx, view: Edito
}
.menu-selector-list {
width: calc(12.375em);
width: 11.875em;
position: absolute;
background: ${palette('surface')};
${themeManager.get(ThemeBorder, undefined)}
${themeManager.get(ThemeShadow, undefined)}
border-bottom-left-radius: ${themeManager.get(ThemeSize, 'radius')};
border-bottom-left-radius: ${themeManager.get(ThemeSize, 'radius')};
border-bottom-right-radius: ${themeManager.get(ThemeSize, 'radius')};
z-index: 3;
}
Expand Down

0 comments on commit fd841bc

Please sign in to comment.