From 888e0e79b8dad4cb6e658763c2e9b43fff359e26 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Thu, 15 Feb 2018 08:42:53 +0100 Subject: [PATCH] Scheduler: prevent filter value from shrinking fixes #1765 --- .../views/generic/ticket_selector_row.jst.eco | 2 +- app/assets/stylesheets/zammad.scss | 21 +++++++++++++------ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/app/assets/javascripts/app/views/generic/ticket_selector_row.jst.eco b/app/assets/javascripts/app/views/generic/ticket_selector_row.jst.eco index abfb99633..46b09fde5 100644 --- a/app/assets/javascripts/app/views/generic/ticket_selector_row.jst.eco +++ b/app/assets/javascripts/app/views/generic/ticket_selector_row.jst.eco @@ -17,7 +17,7 @@ <%- @Icon('arrow-down', 'dropdown-arrow') %> -
+
diff --git a/app/assets/stylesheets/zammad.scss b/app/assets/stylesheets/zammad.scss index e05495ae7..734d13531 100644 --- a/app/assets/stylesheets/zammad.scss +++ b/app/assets/stylesheets/zammad.scss @@ -7424,12 +7424,6 @@ label + .wizard-buttonList { border-top: none; } - .horizontal-filter-body { - display: flex; - align-items: center; - flex: 1; - } - .controls, input { @include bidi-style(margin-right, 5px, margin-left, 0); @@ -7452,6 +7446,21 @@ label + .wizard-buttonList { } } +.horizontal-filter-body { + display: flex; + align-items: center; + flex: 1; +} + +.horizontal-filter-value { + flex-shrink: 0; + + // lower the min-width of url input fields (normally 400px) so that it fits in + input[type=url] { + min-width: 200px; + } +} + .output-input { margin: 0 0 14px;