From 736d2eccfe19522189e74765394aeb388567f06d Mon Sep 17 00:00:00 2001 From: Timm Friebe Date: Sun, 12 May 2024 22:41:17 +0800 Subject: [PATCH] Fix video elements in having an unwanted bottom "margin" --- ChangeLog.md | 6 ++++++ src/main/handlebars/layout.handlebars | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog.md b/ChangeLog.md index af02dbc..8e56e67 100755 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -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 diff --git a/src/main/handlebars/layout.handlebars b/src/main/handlebars/layout.handlebars index fb8e7b7..1949965 100755 --- a/src/main/handlebars/layout.handlebars +++ b/src/main/handlebars/layout.handlebars @@ -42,7 +42,7 @@ text-decoration-skip-ink: auto; } - img, picture { + img, picture, video { max-width: 100%; display: block; }