diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-10-28 15:59:47 +0100 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-10-28 15:59:47 +0100 |
commit | 2e4b2fb52a539188b27212005d626f0849e78196 (patch) | |
tree | d6a01eaf9b0a3a1d21a942e24046e53122c83eaa /scss/main.scss | |
parent | 2eea4b27109e6f958a31890844e2bb69fbc21a48 (diff) | |
download | cerrado-2e4b2fb52a539188b27212005d626f0849e78196.tar.gz cerrado-2e4b2fb52a539188b27212005d626f0849e78196.tar.bz2 cerrado-2e4b2fb52a539188b27212005d626f0849e78196.zip |
ref: Organize those block a bit better
Those are some weird configuration to fix some edge cases.
Diffstat (limited to 'scss/main.scss')
-rw-r--r-- | scss/main.scss | 17 |
1 files changed, 9 insertions, 8 deletions
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; -} |