From da4c705f1e1f9541b0b4f5e24b5c8050aa59197f Mon Sep 17 00:00:00 2001 From: ckaz <kazzer@ub.uni-leipzig.de> Date: Fri, 25 Oct 2019 16:00:50 +0200 Subject: [PATCH] refs #15985 * removes distance from right edge of screen for offcanvas * tiny minor scss beautification fixes --- themes/finc/scss/compiled.scss | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/themes/finc/scss/compiled.scss b/themes/finc/scss/compiled.scss index a9a00145090..136fdd85928 100644 --- a/themes/finc/scss/compiled.scss +++ b/themes/finc/scss/compiled.scss @@ -992,13 +992,6 @@ header, // 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 .offcanvas.active .navbar-fixed-top { @media only screen and (max-width: $screen-xs-max) { @@ -1946,16 +1939,18 @@ footer { background: $sidebar-item-active-hover-bg; } -// #13625 avoid ugly linebreaks with overlong words +// #13625 avoid ugly linebreaks with overlong words, RL .sidebar { -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; -o-hyphens: auto; hyphens: auto; + .facet { -ms-word-break: break-all; word-break: break-all; // fallback for hyphens: auto (Chrome on Desktop and bug on Mozilla for capitalized words) + .text { -ms-word-break: break-word; word-break: break-word; -- GitLab