[Glitch] Fix heading level gaps
Port 6a4d14b178 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
80bd05fb97
commit
45dc485e71
12 files changed
+61
-50
No files matched your search
@@ -304,7 +304,12 @@ export const DetailedStatus: React.FC<{
|
||||
);
|
||||
|
||||
if (taggedCollection) {
|
||||
media = <CollectionPreviewCard collection={taggedCollection.toJS()} />;
|
||||
media = (
|
||||
<CollectionPreviewCard
|
||||
collection={taggedCollection.toJS()}
|
||||
headingLevel='h2'
|
||||
/>
|
||||
);
|
||||
} else {
|
||||
media = (
|
||||
<Card
|
||||
@@ -320,7 +325,10 @@ export const DetailedStatus: React.FC<{
|
||||
const firstLinkedCollection = status.get('tagged_collections').first();
|
||||
if (firstLinkedCollection) {
|
||||
media = (
|
||||
<CollectionPreviewCard collection={firstLinkedCollection.toJS()} />
|
||||
<CollectionPreviewCard
|
||||
collection={firstLinkedCollection.toJS()}
|
||||
headingLevel='h2'
|
||||
/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user