Skip to content

Commit

Permalink
only hide empty NPF text blocks
Browse files Browse the repository at this point in the history
fixes audio and video being invisible
  • Loading branch information
AprilSylph committed Nov 24, 2021
1 parent cf9ef73 commit 5c4f4a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/npf.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@
display: block;
}

[data-block]:empty {
display: none;
}

[data-row] > [data-block] {
flex: 1;
padding: 0 2px;
Expand All @@ -90,6 +86,10 @@
padding-right: 0;
}

[data-block="text"]:empty {
display: none;
}

[data-block="text"][data-subtype="heading2"] {
font-size: 1.25rem;
font-weight: 400;
Expand Down

0 comments on commit 5c4f4a1

Please sign in to comment.