[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
@@ -650,7 +650,7 @@ class Status extends ImmutablePureComponent {
|
||||
status.get('tagged_collections')
|
||||
).find((item) => compareUrls(item.get('url'), cardUrl));
|
||||
if (taggedCollection) {
|
||||
media.push(<CollectionPreviewCard collection={taggedCollection.toJS()} />);
|
||||
media.push(<CollectionPreviewCard collection={taggedCollection.toJS()} headingLevel='h2' />);
|
||||
} else {
|
||||
media.push(
|
||||
<Card
|
||||
@@ -665,7 +665,7 @@ class Status extends ImmutablePureComponent {
|
||||
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