Use semibold font for media gallery headings

This commit is contained in:
Fedor Indutny
2025-12-11 20:57:56 +01:00
committed by GitHub
parent 4c82a179da
commit 711b27917f

View File

@@ -75,7 +75,9 @@ export function AttachmentSection({
case 'media': case 'media':
return ( return (
<section className={tw('@container px-5')}> <section className={tw('@container px-5')}>
<h2 className={tw('ps-1 pt-4 pb-2 type-body-medium')}>{header}</h2> <h2 className={tw('ps-1 pt-4 pb-2 type-body-medium font-semibold')}>
{header}
</h2>
<div <div
className={tw( className={tw(
'grid gap-1', 'grid gap-1',
@@ -103,7 +105,9 @@ export function AttachmentSection({
case 'link': case 'link':
return ( return (
<section> <section>
<h2 className={tw('px-6 pt-1.5 pb-2 type-body-medium')}>{header}</h2> <h2 className={tw('px-6 pt-1.5 pb-2 type-body-medium font-semibold')}>
{header}
</h2>
<div> <div>
{verified.entries.map(mediaItem => { {verified.entries.map(mediaItem => {
return ( return (