logo

drewdevault.com

[mirror] blog and personal website of Drew DeVault git clone https://hacktivis.me/git/mirror/drewdevault.com.git
commit: cd07ba6af1e35f777f28a641ffd18d3a96d96f2d
parent b04289ae0af6fb03f6cb4414a1f05e6f9c65d71e
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun,  3 Jan 2021 16:32:37 -0500

Constrain videos to article width

Diffstat:

Massets/main.scss2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/assets/main.scss b/assets/main.scss @@ -72,7 +72,7 @@ article { max-width: 720px; line-height: 1.3; - img { + img, video { display: block; margin: 0 auto; max-width: 75%;