Skip to content

Commit

Permalink
Merge pull request #300 from WestpacGEL/feature/article-figcaption
Browse files Browse the repository at this point in the history
bullet point fix and leading-loose instead of static value
  • Loading branch information
samithaf authored Nov 17, 2023
2 parents f5abee7 + 4e4ed49 commit f835606
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const styles = tv({
},
level: {
1: 'typography-site-5 mb-5',
2: 'typography-site-7 mb-4 !leading-[1.428571429] xsl:typography-site-6 xsl:mb-5',
2: 'typography-site-7 mb-4 !leading-loose xsl:typography-site-6 xsl:mb-5',
3: 'typography-site-7 mb-5',
4: 'typography-site-9 mb-5',
5: 'typography-site-10 mb-2',
Expand Down
4 changes: 2 additions & 2 deletions apps/site/src/components/document-renderer/list/list.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { tv } from 'tailwind-variants';
export const styles = tv({
slots: {
base: 'my-4 w-full p-0 leading-[2] last:mb-0',
li: 'relative mb-2 pl-3 leading-7',
li: 'relative mb-2 pl-[1.1875rem] leading-7',
},
variants: {
color: {
Expand All @@ -20,7 +20,7 @@ export const styles = tv({
},
unordered: {
base: '',
li: 'leading-normal before:absolute before:left-0 before:top-[0.6rem] before:block before:h-[0.5rem] before:w-[0.5rem] before:rounded-full last:mb-0',
li: 'leading-normal before:absolute before:left-[0.25rem] before:top-1 before:block before:h-[0.5rem] before:w-[0.5rem] before:rounded-full last:mb-0',
},
},
fontFamily: {
Expand Down

0 comments on commit f835606

Please sign in to comment.