aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/main.scss17
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;
-}