Skip to content

Commit ea5bb1b

Browse files
committed
fix storybook
1 parent af80a93 commit ea5bb1b

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

site/src/components/Dashboard/LicenseBanner/LicenseBannerView.tsx

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ export const LicenseBannerView: React.FC<LicenseBannerViewProps> = ({
4545
const containerStyles = css`
4646
${theme.typography.body2 as CSSObject}
4747
48+
display: flex;
49+
align-items: center;
4850
padding: ${theme.spacing(1.5)};
4951
background-color: ${type === "error"
5052
? colors.red[12]
@@ -82,19 +84,9 @@ export const LicenseBannerView: React.FC<LicenseBannerViewProps> = ({
8284
</Link>
8385
</div>
8486
<Expander expanded={showDetails} setExpanded={setShowDetails}>
85-
<ul
86-
css={{
87-
padding: theme.spacing(1),
88-
margin: 0,
89-
}}
90-
>
87+
<ul css={{ padding: theme.spacing(1), margin: 0 }}>
9188
{messages.map((message) => (
92-
<li
93-
css={{
94-
margin: theme.spacing(0.5),
95-
}}
96-
key={message}
97-
>
89+
<li css={{ margin: theme.spacing(0.5) }} key={message}>
9890
{message}
9991
</li>
10092
))}

0 commit comments

Comments
 (0)