Bugzilla – Attachment 72344 Details for
Bug 20268
CSS regression: white gap on the top of the staff pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20268: CSS regression: white gap on the top of the staff pages
Bug-20268-CSS-regression-white-gap-on-the-top-of-t.patch (text/plain), 2.71 KB, created by
Marcel de Rooy
on 2018-03-02 07:38:27 UTC
(
hide
)
Description:
Bug 20268: CSS regression: white gap on the top of the staff pages
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-03-02 07:38:27 UTC
Size:
2.71 KB
patch
obsolete
>From 118ea34e5cff492bea22188ae71bdca846565fca Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 1 Mar 2018 15:00:18 +0000 >Subject: [PATCH] Bug 20268: CSS regression: white gap on the top of the staff > pages >Content-Type: text/plain; charset=utf-8 > >This patch makes template and CSS changes so that the staff client main >page doesn't get an unwanted top margin from the Bootstrap-grid >conversion. > >- The unused "main" class is removed from the login page >- The "main" class on the staff client home page is changed to > "intranet-main." >- The CSS for the staff client home page has been modified accordingly. > >To test, apply the patch and clear your browser cache if necessary. > >- Open the staff client login page. It should look as it always does. >- Log in and check the style of the main page. There should be no white > margin at the top of the page. > >Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > koha-tmpl/intranet-tmpl/prog/css/mainpage.css | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/mainpage.css b/koha-tmpl/intranet-tmpl/prog/css/mainpage.css >index 530c894..404ee29 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/mainpage.css >+++ b/koha-tmpl/intranet-tmpl/prog/css/mainpage.css >@@ -180,7 +180,7 @@ ul.biglinks-list li a:hover.icon_course_reserves {background-position:5px -1146p > } > /* ==== USERBLOCK - End ==== */ > >-.main .row { >+.intranet-main .row { > margin-left: 0; > margin-right: 0; > } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt >index ef57d4a..5bb7905 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt >@@ -12,7 +12,7 @@ > </title> > [% INCLUDE 'doc-head-close.inc' %] > </head> >-<body id="main_auth" class="main"> >+<body id="main_auth"> > > <div id="doc" class="yui-t7"> > <div id="bd"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >index 9f47590..dc61992 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt >@@ -5,7 +5,7 @@ > <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/mainpage_[% KOHA_VERSION %].css" /> > [% INCLUDE 'doc-head-close.inc' %] > </head> >-<body id="main_intranet-main" class="main"> >+<body id="main_intranet-main" class="intranet-main"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'home-search.inc' %] > >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20268
:
72068
|
72310
|
72339
| 72344 |
73180