Skip to content

Commit

Permalink
Fix video elements in having an unwanted bottom "margin"
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed May 12, 2024
1 parent 80f527c commit 736d2ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ Dialog change log

## ?.?.? / ????-??-??

## 2.1.2 / 2024-05-12

* Fixed the `video` elements in having an unwanted bottom "margin".
Use *display: block* to prevent this, just like with images.
(@thekid)

## 2.1.1 / 2024-05-06

* Fixed [descenders](https://en.wikipedia.org/wiki/Descender) being
Expand Down
2 changes: 1 addition & 1 deletion src/main/handlebars/layout.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
text-decoration-skip-ink: auto;
}
img, picture {
img, picture, video {
max-width: 100%;
display: block;
}
Expand Down

0 comments on commit 736d2ec

Please sign in to comment.