[Rt-commit] rt branch, 5.0-trunk, updated. rt-5.0.0alpha1-403-g0eb2ad94bc
? sunnavy
sunnavy at bestpractical.com
Fri May 8 13:42:03 EDT 2020
The branch, 5.0-trunk has been updated
via 0eb2ad94bcea7f694d969b7639d0496261ba090c (commit)
via 9fe83300326b50b74690f7b7372e84d16cf87dcd (commit)
from e9a902f4ef57ed9c6d4b5eef7d32de5acc14dff0 (commit)
Summary of changes:
share/html/Elements/ListActions | 2 +-
share/static/css/elevator-light/boxes.css | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 9fe83300326b50b74690f7b7372e84d16cf87dcd
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Thu May 7 15:16:40 2020 -0400
Suppress padding on the sides and bottom of results text
Result text is displayed with a titlebox, but it is positioned
at the top of the page and the extra padding creates
unneeded blank space.
diff --git a/share/html/Elements/ListActions b/share/html/Elements/ListActions
index 245bd72c7e..ff0a4cc3fc 100644
--- a/share/html/Elements/ListActions
+++ b/share/html/Elements/ListActions
@@ -48,7 +48,7 @@
% $m->out($$_) for grep {ref $_} @actions;
% if (grep {not ref $_} @actions) {
<div class="results">
-<&| /Widgets/TitleBox, title => loc('Results'), %{$titlebox || {}} &>
+<&| /Widgets/TitleBox, title => loc('Results'), content_class => 'list-actions', %{$titlebox || {}} &>
<ul class="action-results">
% foreach my $action (grep {not ref $_} @actions) {
<li><%$action%></li>
diff --git a/share/static/css/elevator-light/boxes.css b/share/static/css/elevator-light/boxes.css
index 98a221a881..c201c7b236 100644
--- a/share/static/css/elevator-light/boxes.css
+++ b/share/static/css/elevator-light/boxes.css
@@ -100,6 +100,11 @@ div.results .titlebox .titlebox-content {
padding: 0 15px 15px 15px;
}
+/* Suppress bottom and side padding for results messages */
+.titlebox .list-actions .card-body {
+ padding: 0;
+}
+
/* Ticket display page colored top borders */
/* Keep in sync with transaction colors in history.css */
/* material.io reference: https://material.io/design/color/#tools-for-picking-colors */
commit 0eb2ad94bcea7f694d969b7639d0496261ba090c
Merge: e9a902f4ef 9fe8330032
Author: sunnavy <sunnavy at bestpractical.com>
Date: Sat May 9 01:41:05 2020 +0800
Merge branch '5.0/update-results-spacing' into 5.0-trunk
-----------------------------------------------------------------------
More information about the rt-commit
mailing list