Skip to content

Commit

Permalink
Scheduler: prevent filter value from shrinking
Browse files Browse the repository at this point in the history
  • Loading branch information
mrflix committed Feb 15, 2018
1 parent 9860f9e commit 888e0e7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<%- @Icon('arrow-down', 'dropdown-arrow') %>
</div>
</div>
<div class="controls js-value horizontal"></div>
<div class="controls js-value horizontal horizontal-filter-value"></div>
</div>
<div class="filter-controls">
<div class="filter-control filter-control-remove js-remove" title="<%- @Ti('Remove') %>">
Expand Down
21 changes: 15 additions & 6 deletions app/assets/stylesheets/zammad.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;

Expand Down

0 comments on commit 888e0e7

Please sign in to comment.