mirror of
https://github.com/go-gitea/gitea
synced 2024-11-16 06:51:29 +01:00
Minor CSS cleanup for the navbar (#6553)
* Minor CSS cleanup for the navbar * move height fix to navbar
This commit is contained in:
parent
c02c6a144f
commit
dc52868e1e
2 changed files with 4 additions and 16 deletions
File diff suppressed because one or more lines are too long
|
@ -153,28 +153,16 @@ pre, code {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
&.wrap {
|
&.wrap {
|
||||||
white-space: pre-wrap; /* CSS 3 */
|
white-space: pre-wrap;
|
||||||
// white-space: -moz-normal; /* Mozilla, since 1999 */
|
|
||||||
// white-space: -normal; /* Opera 4-6 */
|
|
||||||
// white-space: -o-normal; /* Opera 7 */
|
|
||||||
|
|
||||||
-ms-word-break: break-all;
|
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
|
||||||
/* These are technically the same, but use both */
|
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.dont-break-out {
|
.dont-break-out {
|
||||||
/* These are technically the same, but use both */
|
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
|
||||||
-ms-word-break: break-all;
|
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
|
||||||
/* Adds a hyphen where the word breaks, if supported (No Blink) */
|
|
||||||
hyphens: auto;
|
hyphens: auto;
|
||||||
}
|
}
|
||||||
.full.height {
|
.full.height {
|
||||||
|
@ -184,8 +172,7 @@ pre, code {
|
||||||
.following.bar {
|
.following.bar {
|
||||||
z-index: 900;
|
z-index: 900;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
margin: 0 !important;
|
||||||
margin: 0;
|
|
||||||
&.light {
|
&.light {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border-bottom: 1px solid #DDDDDD;
|
border-bottom: 1px solid #DDDDDD;
|
||||||
|
@ -229,6 +216,7 @@ pre, code {
|
||||||
}
|
}
|
||||||
#navbar {
|
#navbar {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
min-height: 52px;
|
||||||
padding: 0 .5rem;
|
padding: 0 .5rem;
|
||||||
}
|
}
|
||||||
#navbar .brand {
|
#navbar .brand {
|
||||||
|
|
Loading…
Reference in a new issue