From 79e4a54fac9f843e4dad21fe95759940035fdd2e Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 9 Dec 2021 19:13:55 +0100 Subject: [PATCH] Workaround for an incorrect width calculation inside `
` --- wcfsetup/install/files/style/bootstrap/reset.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wcfsetup/install/files/style/bootstrap/reset.scss b/wcfsetup/install/files/style/bootstrap/reset.scss index c9448ddfb7..d72b54cc36 100644 --- a/wcfsetup/install/files/style/bootstrap/reset.scss +++ b/wcfsetup/install/files/style/bootstrap/reset.scss @@ -106,6 +106,11 @@ html { min-width: 0; } +// See https://www.paulirish.com/2012/box-sizing-border-box-ftw/ +details * { + box-sizing: border-box; +} + html { // prevent iOS Safari from blowing up font size when in landscape mode -webkit-text-size-adjust: 100%; -- 2.20.1