Skip to content

Commit

Permalink
fix: changed error message icon to top align instead of center
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannah committed Sep 3, 2024
1 parent 1b2e745 commit 425fb18
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { tv } from 'tailwind-variants';

export const styles = tv({

Check warning on line 3 in packages/ui/src/components/error-message/error-message.styles.ts

View workflow job for this annotation

GitHub Actions / Test

Invalid Tailwind CSS classnames order
slots: {
base: 'typography-body-11 flex items-center text-danger',
base: 'typography-body-11 flex items-start text-danger',
list: 'mb-2 flex flex-col gap-1',
// below should be em rather than rem based on old GEL
icon: 'mr-[0.5em] align-top',
icon: 'mr-[0.5em] align-top mt-[0.15rem]',
},
});

0 comments on commit 425fb18

Please sign in to comment.