File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import styled, { css } from 'styled-components';
22import { ServerStatus } from 'generated-sources' ;
33
44export const ColorPickerWrapper = styled . div `
5+ position: absolute;
56 display: flex;
67 visibility: hidden;
78` ;
@@ -13,13 +14,14 @@ export const MenuItem = styled('li').attrs({ role: 'menuitem' })<{
1314 ( { theme, $variant, $isActive } ) => css `
1415 font-size: 14px;
1516 font-weight: ${ theme . menu [ $isActive ? 'primary' : $variant ] . fontWeight } ;
16- min-height: 32px ;
17+ min-height: 28px ;
1718 display: flex;
1819 align-items: center;
1920 justify-content: space-between;
21+ line-height: 17px;
2022 user-select: none;
2123 width: 100%;
22- padding: 6px 8px;
24+ padding: 4px 8px;
2325 cursor: pointer;
2426 text-decoration: none;
2527 border-radius: 8px;
@@ -35,6 +37,7 @@ export const MenuItem = styled('li').attrs({ role: 'menuitem' })<{
3537 color: ${ theme . menu [ $variant ] . color . hover } ;
3638
3739 ${ ColorPickerWrapper } {
40+ position: relative;
3841 visibility: visible;
3942 }
4043 }
You can’t perform that action at this time.
0 commit comments