Bugzilla – Attachment 108106 Details for
Bug 26189
Table options on points of sale misaligned
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26189: Improve styling of POS table headers
Bug-26189-Improve-styling-of-POS-table-headers.patch (text/plain), 2.55 KB, created by
Martin Renvoize (ashimema)
on 2020-08-12 13:31:36 UTC
(
hide
)
Description:
Bug 26189: Improve styling of POS table headers
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-08-12 13:31:36 UTC
Size:
2.55 KB
patch
obsolete
>From 950eea2378b921f896087b96f70152cb14a7bd12 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 12 Aug 2020 13:58:58 +0100 >Subject: [PATCH] Bug 26189: Improve styling of POS table headers > >--- > koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss | 4 ++++ > koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 10 ++++++++++ > koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt | 3 ++- > 3 files changed, 16 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss >index 31bf388136..793c2617da 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/_tables.scss >@@ -1,7 +1,9 @@ > table { >+ table-layout: fixed; > border-collapse: collapse; > border-right: 1px solid $table-border-color; > border-top: 1px solid $table-border-color; >+ width: 100%; > > .btn-group { > white-space: nowrap; >@@ -124,6 +126,8 @@ th { > border-bottom: 1px solid $table-border-color; > border-left: 1px solid $table-border-color; > padding: .2em .3em; >+ word-wrap: break-all; >+ word-wrap: break-word; > } > > td { >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >index e339309288..bfdf40f100 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -898,6 +898,10 @@ fieldset { > font-size: 105%; > margin: 1em 0 1em 1em; > >+ &.dataTable { >+ margin: 0; >+ } >+ > &.mceListBox { > margin: 0; > } >@@ -921,6 +925,12 @@ fieldset { > clear: both; > padding-top: .5em; > } >+ >+ .dataTables_wrapper { >+ label { >+ font-weight: 400; >+ } >+ } > } > } > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >index bcdbbe86c6..f6f1cc026d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >@@ -338,7 +338,8 @@ > "aoColumnDefs": [ > { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable":false }, > ], >- }, items_columns_settings); >+ "bAutoWidth": false >+ }, items_columns_settings, false); > > $(".add_button").on("click", function(e) { > e.preventDefault(); >-- >2.20.1
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 26189
:
108106
|
108156
|
108164
|
108165
|
108743
|
108744
|
108759
|
108973