mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 12:05:28 +00:00
feat: add text-wrap balance to headlines
This commit is contained in:
1935
pnpm-lock.yaml
generated
1935
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -16,7 +16,7 @@ export const Headline: FunctionalComponent<Props> = ({
|
||||
}) => {
|
||||
const Tag = as;
|
||||
const classes = cx(
|
||||
'text-5 font-black tracking-tight mbe-10 mbs-12 dark:font-extrabold',
|
||||
'text-5 font-black tracking-tight mbe-10 mbs-12 dark:font-extrabold [text-wrap:balance]',
|
||||
className
|
||||
);
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ export const Subheadline: FunctionalComponent<Props> = ({
|
||||
}) => {
|
||||
const Tag = as;
|
||||
const classes = cx(
|
||||
'text-4 font-black tracking-tight mbe-8 mbs-12 dark:font-extrabold',
|
||||
'text-4 font-black tracking-tight mbe-8 mbs-12 dark:font-extrabold [text-wrap:balance]',
|
||||
className
|
||||
);
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ export const Subsubheadline: FunctionalComponent<Props> = ({
|
||||
}) => {
|
||||
const Tag = as;
|
||||
const classes = cx(
|
||||
'text-3 font-black tracking-tight mbe-5 mbs-12 dark:font-extrabold',
|
||||
'text-3 font-black tracking-tight mbe-5 mbs-12 dark:font-extrabold [text-wrap:balance]',
|
||||
className
|
||||
);
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ export const Title: FunctionalComponent<Props> = ({
|
||||
...props
|
||||
}) => {
|
||||
const Tag = as;
|
||||
const classes = cx('text-7 font-black tracking-tight mbe-13 dark:font-extrabold', className);
|
||||
const classes = cx('text-7 font-black tracking-tight mbe-13 dark:font-extrabold [text-wrap:balance]', className);
|
||||
|
||||
return (
|
||||
<Tag class={classes} {...props}>
|
||||
|
||||
Reference in New Issue
Block a user