Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/banner/banner.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

.content {
padding: var(--reactist-spacing-large);
align-items: flex-start;
align-items: center;
Comment thread
engfragui marked this conversation as resolved.
Outdated
}

.title,
Expand Down Expand Up @@ -63,6 +63,11 @@
display: block;
}

.icon {
align-self: flex-start;
padding-top: calc(var(--reactist-spacing-xsmall) / 2);
}

/* The close button is invisible in this resolution, so we're hiding the container to prevent flex-gap from making extra space */
.icon:empty,
.icon:has(.closeButton:only-child) {
Expand Down
2 changes: 1 addition & 1 deletion src/banner/banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ const Banner = React.forwardRef<HTMLDivElement, BannerProps>(function Banner(
className={styles.topContent}
display="flex"
gap="small"
alignItems="flexStart"
alignItems="center"
>
<Box
className={styles.copy}
Expand Down
Loading