[Rt-commit] rt branch, 4.6/tweak-elevator-themes, updated. rt-4.4.4-425-gedf8e1b41

? sunnavy sunnavy at bestpractical.com
Tue Oct 22 16:08:14 EDT 2019


The branch, 4.6/tweak-elevator-themes has been updated
       via  edf8e1b41885ee0169396694a56d52aeb29321c9 (commit)
      from  bdd92a282c25f6da27de141e25d68ccd0d11f4e7 (commit)

Summary of changes:
 share/html/Elements/ShowCustomFields      |  4 ++--
 share/static/css/elevator-light/forms.css | 10 +++++++++-
 2 files changed, 11 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit edf8e1b41885ee0169396694a56d52aeb29321c9
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Oct 23 03:52:12 2019 +0800

    Tweak the ul style/position mainly for multiple cf values
    
    And when there is only one cf value to render, it looks like other
    single value cfs.
    
    This also tweaks all the ul lists in ".value" divs a tiny bit to be more
    consistent with other fields(line-height and padding-left).

diff --git a/share/html/Elements/ShowCustomFields b/share/html/Elements/ShowCustomFields
index 7edfd80a9..c5211fa52 100644
--- a/share/html/Elements/ShowCustomFields
+++ b/share/html/Elements/ShowCustomFields
@@ -74,9 +74,9 @@
 % } elsif ( $count == 1 ) {
 %   $print_value->( $CustomField, $Values->First );
 % } else {
-<ul>
+<ul class="list-group list-group-compact">
 % while ( my $Value = $Values->Next ) {
-<li>
+<li class="list-group-item">
 % $print_value->( $CustomField, $Value );
 </li>
 % }
diff --git a/share/static/css/elevator-light/forms.css b/share/static/css/elevator-light/forms.css
index 2a6f8f568..ea6b10b8a 100644
--- a/share/static/css/elevator-light/forms.css
+++ b/share/static/css/elevator-light/forms.css
@@ -347,10 +347,18 @@ form .value > .list-group {
   padding-top: 5px;
 }
 
-form .value > .list-group > .list-group-item:first-child {
+.value .list-group > .list-group-item:first-child {
   padding-top: 0;
 }
 
+.value .list-group .list-group-item {
+  padding-left: 0;
+}
+
+.value .list-group {
+  line-height: inherit;
+}
+
 .btn {
   font-weight: 500;
 }

-----------------------------------------------------------------------


More information about the rt-commit mailing list