Skip to content

Commit dc52868

Browse files
silverwindzeripath
authored andcommitted
Minor CSS cleanup for the navbar (#6553)
* Minor CSS cleanup for the navbar * move height fix to navbar
1 parent c02c6a1 commit dc52868

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

public/css/index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/less/_base.less

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -153,28 +153,16 @@ pre, code {
153153
overflow: auto;
154154
}
155155
&.wrap {
156-
white-space: pre-wrap; /* CSS 3 */
157-
// white-space: -moz-normal; /* Mozilla, since 1999 */
158-
// white-space: -normal; /* Opera 4-6 */
159-
// white-space: -o-normal; /* Opera 7 */
160-
161-
-ms-word-break: break-all;
156+
white-space: pre-wrap;
162157
word-break: break-all;
163-
164-
/* These are technically the same, but use both */
165158
overflow-wrap: break-word;
166159
word-wrap: break-word;
167160
}
168161
}
169162
.dont-break-out {
170-
/* These are technically the same, but use both */
171163
overflow-wrap: break-word;
172164
word-wrap: break-word;
173-
174-
-ms-word-break: break-all;
175165
word-break: break-all;
176-
177-
/* Adds a hyphen where the word breaks, if supported (No Blink) */
178166
hyphens: auto;
179167
}
180168
.full.height {
@@ -184,8 +172,7 @@ pre, code {
184172
.following.bar {
185173
z-index: 900;
186174
left: 0;
187-
width: 100%;
188-
margin: 0;
175+
margin: 0 !important;
189176
&.light {
190177
background-color: white;
191178
border-bottom: 1px solid #DDDDDD;
@@ -229,6 +216,7 @@ pre, code {
229216
}
230217
#navbar {
231218
width: 100vw;
219+
min-height: 52px;
232220
padding: 0 .5rem;
233221
}
234222
#navbar .brand {

0 commit comments

Comments
 (0)