Skip to content

Commit

Permalink
frontend: fix heading rendering on Publication
Browse files Browse the repository at this point in the history
  • Loading branch information
horacioh committed Sep 20, 2023
1 parent 30d386f commit ef97399
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 @@ -152,14 +152,14 @@ NESTED BLOCKS
--prev-level: 1.8em;
}

.blockOuter[data-prev-type='heading'] > .block > .blockContent {
.blockOuter[data-prev-type='heading'] > .block .blockContent {
font-size: var(--prev-level);
font-weight: bold;
}

.blockOuter:not([data-prev-type])
> .block
> .blockContent[data-content-type='heading'] {
.blockContent[data-content-type='heading'] {
font-size: var(--level);
line-height: 1.2;
max-width: 24ch;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export const HMBlockContainer = Node.create<{
styles.blockOuter,
hovered ? 'block-container-hovered' : '',
)}
data-node-id="block-outer"
data-node-type="block-outer"
>
<div
{...domAttributes}
Expand Down

0 comments on commit ef97399

Please sign in to comment.