Skip to content

Commit f71a979

Browse files
committed
fix storybook
1 parent 8fa8a37 commit f71a979

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

site/src/components/Dashboard/Navbar/UserDropdown/UserDropdownContent.tsx

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,6 @@ const styles = {
6060
menuItemText: {
6161
fontSize: 14,
6262
},
63-
divider: (theme) => css`
64-
margin: ${theme.spacing(1, 0)};
65-
66-
&:first-of-type {
67-
margin-top: 0;
68-
}
69-
70-
&:last-of-type {
71-
margin-bottom: 0;
72-
}
73-
`,
7463
footerText: (theme) => css`
7564
font-size: 12px;
7665
text-decoration: none;
@@ -111,7 +100,7 @@ export const UserDropdownContent: FC<UserDropdownContentProps> = ({
111100
<span css={styles.userEmail}>{user.email}</span>
112101
</Stack>
113102

114-
<Divider css={styles.divider} />
103+
<Divider css={{ marginTop: "0 !important" }} />
115104

116105
<Link to="/settings/account" css={styles.link}>
117106
<MenuItem css={styles.menuItem} onClick={onPopoverClose}>
@@ -125,7 +114,7 @@ export const UserDropdownContent: FC<UserDropdownContentProps> = ({
125114
<span css={styles.menuItemText}>{Language.signOutLabel}</span>
126115
</MenuItem>
127116

128-
<Divider css={styles.divider} />
117+
<Divider css={{ marginBottom: "0 !important" }} />
129118

130119
{supportLinks &&
131120
supportLinks.map((link) => (

0 commit comments

Comments
 (0)