[Rt-commit] rt branch 5.0/clean-up-reports-menu-customization-styling created. rt-5.0.2-277-ga0552f18a5
BPS Git Server
git at git.bestpractical.com
Tue Jun 21 21:33:19 UTC 2022
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".
The branch, 5.0/clean-up-reports-menu-customization-styling has been created
at a0552f18a5ff788c45262a776d6136d4598e248d (commit)
- Log -----------------------------------------------------------------
commit a0552f18a5ff788c45262a776d6136d4598e248d
Author: Brian Conry <bconry at bestpractical.com>
Date: Tue Jun 21 16:28:20 2022 -0500
Cleanup Reports/Update This Menu CSS styling
The previous styling resulted in the source and destination boxes having
different minimum heights. This changes the stylesheet and structure
so that they will be the same.
diff --git a/share/html/Widgets/SearchSelection b/share/html/Widgets/SearchSelection
index bcd8ff3fc9..787ebd7693 100644
--- a/share/html/Widgets/SearchSelection
+++ b/share/html/Widgets/SearchSelection
@@ -91,12 +91,14 @@
% for my $pane (sort keys %pane_name) {
<div class="destination" data-pane="<% $pane %>">
<div class="contents">
- <h3><% $pane_name{$pane} %></h3>
- <ul>
-% for my $item (@{ $selected{$pane} }) {
- <& /Elements/ShowSelectSearch, %$item &>
-% }
- </ul>
+ <div class="section">
+ <h3><% $pane_name{$pane} %></h3>
+ <ul>
+% for my $item (@{ $selected{$pane} }) {
+ <& /Elements/ShowSelectSearch, %$item &>
+% }
+ </ul>
+ </div>
</div>
</div>
% }
diff --git a/share/static/css/elevator-light/forms.css b/share/static/css/elevator-light/forms.css
index bce96432ca..2bfcc777f8 100644
--- a/share/static/css/elevator-light/forms.css
+++ b/share/static/css/elevator-light/forms.css
@@ -412,7 +412,8 @@ textarea.code {
margin-bottom: 2em;
}
-.selectionbox-js .source .contents {
+.selectionbox-js .source .contents,
+.selectionbox-js .source .contents ul {
min-height: 250px; /* to be consistent with the following .destination */
max-height: 1000px;
}
@@ -422,7 +423,7 @@ textarea.code {
.selectionbox-js .destination .contents,
.selectionbox-js .destination .contents ul {
min-height: 250px;
- max-height: 500px;
+ max-height: 1000px;
}
.selectionbox-js h2 {
-----------------------------------------------------------------------
hooks/post-receive
--
rt
More information about the rt-commit
mailing list