[Rt-commit] rt branch, 5.0/tighten-one-time-suggestion-position, created. rt-5.0.0alpha1-31-g570f651cd7

Craig Kaiser craig at bestpractical.com
Mon Mar 23 15:25:42 EDT 2020


The branch, 5.0/tighten-one-time-suggestion-position has been created
        at  570f651cd7812e04f3111436354d580b48c8b975 (commit)

- Log -----------------------------------------------------------------
commit 570f651cd7812e04f3111436354d580b48c8b975
Author: Craig Kaiser <craig at bestpractical.com>
Date:   Mon Mar 23 15:25:28 2020 -0400

    Move one time suggestion boxes closer to relevant input

diff --git a/share/html/Ticket/Elements/UpdateCc b/share/html/Ticket/Elements/UpdateCc
index aa4be3bd1b..7dc1ae2180 100644
--- a/share/html/Ticket/Elements/UpdateCc
+++ b/share/html/Ticket/Elements/UpdateCc
@@ -57,7 +57,7 @@
   </div>
 </div>
 
-<div class="form-row">
+<div class="form-row one-time-cc">
   <div class="col-md-2 label"></div>
   <div class="col-md-9 value">
     <div class="form-row">
@@ -112,7 +112,7 @@
 <div class="form-row">
   <div class="col-md-2 label"></div>
   <div class="col-md-9 value">
-    <div class="form-row">
+    <div class="form-row one-time-bcc">
 %if (scalar @one_time_Ccs) {
 %   if ($hide_cc_suggestions) {
       <a href="#" class="ToggleSuggestions" data-hide-label="<% $hide_label %>" data-show-label="<% $show_label %>">
diff --git a/share/static/css/elevator-light/ticket-form.css b/share/static/css/elevator-light/ticket-form.css
index dc2523c002..8361b5c137 100644
--- a/share/static/css/elevator-light/ticket-form.css
+++ b/share/static/css/elevator-light/ticket-form.css
@@ -75,3 +75,8 @@
 .refreshing {
     opacity: 0.3;
 }
+
+.one-time-bcc, .one-time-cc {
+    margin-top: 0;
+    margin-bottom: 1.0em;
+}

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


More information about the rt-commit mailing list