Skip to content
Snippets Groups Projects
Commit da4c705f authored by Claas Kazzer's avatar Claas Kazzer :speech_balloon: Committed by Dorian Merz
Browse files

refs #15985

* removes distance from right edge of screen for offcanvas
* tiny minor scss beautification fixes
parent df95877b
No related merge requests found
...@@ -992,13 +992,6 @@ header, ...@@ -992,13 +992,6 @@ header,
// max-width: $row-width; // Find equiv in BS - fixme CK // max-width: $row-width; // Find equiv in BS - fixme CK
} }
//// push navbar in from right, to allow for offcanvas scrollbar
.offcanvas .navbar-fixed-top {
@media only screen and (max-width: $screen-xs-max) {
right: ($grid-gutter-width / 2);
}
}
//// Keep navbar on left, when offcanvas is active, give same appearance as ever //// Keep navbar on left, when offcanvas is active, give same appearance as ever
.offcanvas.active .navbar-fixed-top { .offcanvas.active .navbar-fixed-top {
@media only screen and (max-width: $screen-xs-max) { @media only screen and (max-width: $screen-xs-max) {
...@@ -1946,16 +1939,18 @@ footer { ...@@ -1946,16 +1939,18 @@ footer {
background: $sidebar-item-active-hover-bg; background: $sidebar-item-active-hover-bg;
} }
// #13625 avoid ugly linebreaks with overlong words // #13625 avoid ugly linebreaks with overlong words, RL
.sidebar { .sidebar {
-webkit-hyphens: auto; -webkit-hyphens: auto;
-moz-hyphens: auto; -moz-hyphens: auto;
-ms-hyphens: auto; -ms-hyphens: auto;
-o-hyphens: auto; -o-hyphens: auto;
hyphens: auto; hyphens: auto;
.facet { .facet {
-ms-word-break: break-all; -ms-word-break: break-all;
word-break: break-all; // fallback for hyphens: auto (Chrome on Desktop and bug on Mozilla for capitalized words) word-break: break-all; // fallback for hyphens: auto (Chrome on Desktop and bug on Mozilla for capitalized words)
.text { .text {
-ms-word-break: break-word; -ms-word-break: break-word;
word-break: break-word; word-break: break-word;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment