fix bulk action selects

This commit is contained in:
Felix Niklas 2015-10-19 13:27:33 +02:00
parent 579a1f9f77
commit ecac461490
2 changed files with 9 additions and 1 deletions

View file

@ -1,4 +1,4 @@
<div class="u-positionOrigin"> <div class="controls-select">
<select id="<%= @attribute.id %>" class="form-control<%= " #{ @attribute.class }" if @attribute.class %>" name="<%= @attribute.name %>" <%= @attribute.multiple %> <%= @attribute.required %> <%= @attribute.autofocus %>> <select id="<%= @attribute.id %>" class="form-control<%= " #{ @attribute.class }" if @attribute.class %>" name="<%= @attribute.name %>" <%= @attribute.multiple %> <%= @attribute.required %> <%= @attribute.autofocus %>>
<% if @attribute.options: %> <% if @attribute.options: %>
<% for row in @attribute.options: %> <% for row in @attribute.options: %>

View file

@ -1140,6 +1140,10 @@ fieldset > .form-group {
margin-bottom: 0; margin-bottom: 0;
} }
.controls-select {
position: relative;
}
.controls-label { .controls-label {
margin: 11px 10px 0; margin: 11px 10px 0;
flex-shrink: 0; flex-shrink: 0;
@ -3533,6 +3537,10 @@ footer {
background: none; background: none;
} }
.form-inline .controls-select {
position: static;
}
.bulkAction-secondStep .form-group { .bulkAction-secondStep .form-group {
min-width: 140px; min-width: 140px;
} }