summaryrefslogtreecommitdiffstats
path: root/public/less/_base.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2019-04-11 22:19:43 +0200
committerzeripath <art27@cantab.net>2019-04-11 21:19:43 +0100
commitdc52868e1e36af5db9db4472c58397544fdf17c7 (patch)
treeed2d2d120e6dfa89d9585b4a3819fdbafc364b4f /public/less/_base.less
parentc02c6a144fb26c44f4c7cfe9331daa6218a51cc8 (diff)
downloadgitea-dc52868e1e36af5db9db4472c58397544fdf17c7.tar.gz
gitea-dc52868e1e36af5db9db4472c58397544fdf17c7.zip
Minor CSS cleanup for the navbar (#6553)
* Minor CSS cleanup for the navbar * move height fix to navbar
Diffstat (limited to 'public/less/_base.less')
-rw-r--r--public/less/_base.less18
1 files changed, 3 insertions, 15 deletions
diff --git a/public/less/_base.less b/public/less/_base.less
index eb4d1f21b1..6b9617b5e6 100644
--- a/public/less/_base.less
+++ b/public/less/_base.less
@@ -153,28 +153,16 @@ pre, code {
overflow: auto;
}
&.wrap {
- white-space: pre-wrap; /* CSS 3 */
-// white-space: -moz-normal; /* Mozilla, since 1999 */
-// white-space: -normal; /* Opera 4-6 */
-// white-space: -o-normal; /* Opera 7 */
-
- -ms-word-break: break-all;
+ white-space: pre-wrap;
word-break: break-all;
-
- /* These are technically the same, but use both */
overflow-wrap: break-word;
word-wrap: break-word;
}
}
.dont-break-out {
- /* These are technically the same, but use both */
overflow-wrap: break-word;
word-wrap: break-word;
-
- -ms-word-break: break-all;
word-break: break-all;
-
- /* Adds a hyphen where the word breaks, if supported (No Blink) */
hyphens: auto;
}
.full.height {
@@ -184,8 +172,7 @@ pre, code {
.following.bar {
z-index: 900;
left: 0;
- width: 100%;
- margin: 0;
+ margin: 0 !important;
&.light {
background-color: white;
border-bottom: 1px solid #DDDDDD;
@@ -229,6 +216,7 @@ pre, code {
}
#navbar {
width: 100vw;
+ min-height: 52px;
padding: 0 .5rem;
}
#navbar .brand {