From 2e4b2fb52a539188b27212005d626f0849e78196 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Mon, 28 Oct 2024 15:59:47 +0100 Subject: ref: Organize those block a bit better Those are some weird configuration to fix some edge cases. --- scss/main.scss | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'scss/main.scss') diff --git a/scss/main.scss b/scss/main.scss index 21701f5..b25af7b 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -90,14 +90,22 @@ $utilities: ( @import "bootstrap/scss/utilities/_api.scss"; +// prevents wierd font resizing on overflow body { - // prevents wierd font resizing on overflow -webkit-text-size-adjust: 100%; font-family: $font-family-monospace; font-size: $base-font-size; margin: 0; } +// prevert wierd input overflowing 100% +input { + width: 100%; + box-sizing: border-box; + -webkit-box-sizing:border-box; + -moz-box-sizing: border-box; +} + .navbar-nav { margin-top: 0px } @@ -167,10 +175,3 @@ pre { max-width: calc(100% - calc(2 * #{$spacer})); } } - -input { - width: 100%; - box-sizing: border-box; - -webkit-box-sizing:border-box; - -moz-box-sizing: border-box; -} -- cgit v1.2.3