From dc6c47ac7055244e4de378946e158edcdfc4acea Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 31 Aug 2018 14:47:18 +0000 Subject: [PATCH] Bug 15287: (follow-up) QA fix for position of user icon This patch corrects the CSS for the user icon which appears when the browser width is very narrow. To test, apply the patch, rebuild CSS, and clear your browser cache if necessary. View the OPAC with and without a user logged in and confirm that the user icon at the top of the page looks correct at narrow browser widths. --- koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss index f50dcda..0303613 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -2529,14 +2529,8 @@ button.closebtn { #user-menu-trigger { display: none; - .icon-user { - background: transparent url( "../lib/bootstrap/img/glyphicons-halflings-white.png" ) no-repeat; - background-position: -168px 0; - background-repeat: no-repeat; - height: 14px; - line-height: 14px; - margin: 12px 0 0; - vertical-align: text-top; + i { + padding: 14px 0 0; width: 14px; } -- 2.1.4