Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor CSS cleanup for the navbar #6553

Merged
merged 4 commits into from
Apr 11, 2019
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/css/index.css

Large diffs are not rendered by default.

18 changes: 3 additions & 15 deletions public/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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;
Expand Down Expand Up @@ -229,6 +216,7 @@ pre, code {
}
#navbar {
width: 100vw;
min-height: 52px;
padding: 0 .5rem;
}
#navbar .brand {
Expand Down