From 9740be51ae461b15f200415f2cbd40777e3cfd0e Mon Sep 17 00:00:00 2001 From: curben <2809763-curben@users.noreply.gitlab.com> Date: Fri, 30 Aug 2019 05:48:26 +0100 Subject: [PATCH] fix(css): Restrict sizing to the page width in all browsers * especially in mobile browsers --- themes/typing/source/css/typing.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/themes/typing/source/css/typing.css b/themes/typing/source/css/typing.css index da588e9..91e3363 100644 --- a/themes/typing/source/css/typing.css +++ b/themes/typing/source/css/typing.css @@ -224,6 +224,19 @@ h6 { margin-bottom: 0.5em; } +/* + * Restrict sizing to the page width in all browsers (opinionated). + * sanitize.css/page.css + */ +iframe, +img, +input, +select, +textarea { + height: auto; + max-width: 100%; +} + a, a:hover { text-decoration: none;