@loomhq/lens 10.55.0 → 10.55.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/menu/menu.js +12 -2
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ import styled from '@emotion/styled';
|
|
|
18
18
|
const MenuWrapper = styled.ul `
|
|
19
19
|
background-color: ${getColorValue('overlay')};
|
|
20
20
|
list-style: none;
|
|
21
|
-
padding: ${u(1)}
|
|
21
|
+
padding: ${u(1.5)};
|
|
22
22
|
margin: 0;
|
|
23
23
|
${props => getSize('min-width', props.minWidth)};
|
|
24
24
|
${props => getSize('max-width', props.maxWidth)};
|
|
@@ -34,6 +34,7 @@ const MenuItemWrapper = styled.li `
|
|
|
34
34
|
grid-auto-flow: column;
|
|
35
35
|
grid-template-columns: ${props => props.columns};
|
|
36
36
|
${getSize('grid-gap', 'small')};
|
|
37
|
+
${getRadius('thdMediumToXlarge')};
|
|
37
38
|
align-items: center;
|
|
38
39
|
min-height: ${u(5)};
|
|
39
40
|
padding: 0 ${u(2)};
|
|
@@ -45,7 +46,16 @@ const MenuItemWrapper = styled.li `
|
|
|
45
46
|
`};
|
|
46
47
|
${props => props.hasDivider &&
|
|
47
48
|
`
|
|
48
|
-
|
|
49
|
+
position: relative;
|
|
50
|
+
margin-top: ${u(3)};
|
|
51
|
+
&:before {
|
|
52
|
+
content: '';
|
|
53
|
+
border-top: 1px solid ${getColorValue('border')};
|
|
54
|
+
position: absolute;
|
|
55
|
+
top: ${u(-1.5)};
|
|
56
|
+
left: ${u(-1.5)};
|
|
57
|
+
width: calc(100% + ${u(3)});
|
|
58
|
+
}
|
|
49
59
|
`};
|
|
50
60
|
`;
|
|
51
61
|
export const MenuItem = (_a) => {
|