From 009bc92193c305ed72834f007716355935837f52 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Fri, 18 Sep 2015 15:07:15 +0200 Subject: [PATCH] set form input min-widths (url, user-select) --- .../app/views/generic/user_search/input.jst.eco | 2 +- app/assets/stylesheets/zammad.css.scss | 17 +++++++++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/app/views/generic/user_search/input.jst.eco b/app/assets/javascripts/app/views/generic/user_search/input.jst.eco index c9ed38590..6cc7b4359 100644 --- a/app/assets/javascripts/app/views/generic/user_search/input.jst.eco +++ b/app/assets/javascripts/app/views/generic/user_search/input.jst.eco @@ -1,6 +1,6 @@
- + <%- @Icon('arrow-down', 'dropdown-arrow') %>
diff --git a/app/assets/stylesheets/zammad.css.scss b/app/assets/stylesheets/zammad.css.scss index 77e46209b..4f22a78db 100644 --- a/app/assets/stylesheets/zammad.css.scss +++ b/app/assets/stylesheets/zammad.css.scss @@ -1043,6 +1043,10 @@ fieldset > *:not(.form-group) .form-control { .form-group.formGroup--halfSize { width: 50%; float: left; + + .form-control { + min-width: auto; + } } .fromGroup--standalone .form-control { @@ -1089,6 +1093,15 @@ textarea, } } +input[type=url] { + min-width: 400px; +} + +.user-select.form-control { + padding-right: 35px; + min-width: 300px; +} + input[type=time] { width: auto; padding-left: 6px; @@ -1196,10 +1209,6 @@ input.time.time--12 { display: none; } - .form-control.ui-autocomplete-input { - padding-right: 35px; - } - .has-error .form-control, .has-error .form-control:focus, .has-error .form-control.focus {