Skip to content

Commit

Permalink
fix(component): flex setting-modal header & footer (#4818)
Browse files Browse the repository at this point in the history
  • Loading branch information
CatsJuice authored Nov 2, 2023
1 parent 65321e3 commit de33967
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { globalStyle, style } from '@vanilla-extract/css';

export const settingHeader = style({
height: '68px',
borderBottom: '1px solid var(--affine-border-color)',
paddingBottom: '24px',
marginBottom: '24px',
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export const planCardsWrapper = style({
});

export const planCard = style({
backgroundColor: 'var(--affine-background-primary-color)',
minHeight: '426px',
minWidth: '258px',
borderRadius: '16px',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export const SettingModal = ({
className={style.suggestionLink}
>
<span className={style.suggestionLinkIcon}>
<ContactWithUsIcon />
<ContactWithUsIcon width="16" height="16" />
</span>
{t['com.affine.settings.suggestion']()}
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,16 @@ export const suggestionLink = style({
fontSize: 'var(--affine-font-sm)',
color: 'var(--affine-text-primary-color)',
display: 'flex',
alignItems: 'center',
alignItems: 'start',
lineHeight: '22px',
gap: '12px',
});

export const suggestionLinkIcon = style({
color: 'var(--affine-icon-color)',
marginRight: '12px',
display: 'flex',
margin: '3px 0',
});

export const footer = style({
Expand Down

0 comments on commit de33967

Please sign in to comment.