From 72745a7de739ec8ec3480e730a4f6f2170957451 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Tue, 30 Apr 2024 17:24:33 +0200 Subject: [PATCH] CSS reset adjustments. --- assets/sass/_reset.scss | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/assets/sass/_reset.scss b/assets/sass/_reset.scss index 26a83fd..0c5b592 100644 --- a/assets/sass/_reset.scss +++ b/assets/sass/_reset.scss @@ -35,16 +35,21 @@ body { // Embedded content img, +svg, picture, +audio, video, canvas, -svg { +iframe, +embed, +object { display: block; - max-width: 100%; } img, -svg { +svg, +video { + max-width: 100%; height: auto; } @@ -59,7 +64,8 @@ button, textarea, select { font: inherit; - max-width: 100%; + letter-spacing: inherit; + word-spacing: inherit; } [type='search'] {