Commit 53eb5ba1f2ad04667a015b77ea2b1d8c020bc9d7

Authored by Gabriela Navarro
1 parent 0e6f3ccc

Extracting style into css file

plugins/display_content/public/style.css
... ... @@ -36,3 +36,7 @@
36 36 color: #FFF;
37 37 padding: 2px;
38 38 }
  39 +
  40 +.limit-input {
  41 + width: 8%;
  42 +}
... ...
plugins/display_content/views/box_organizer/_choose_directly.html.erb
... ... @@ -6,7 +6,7 @@
6 6 </div>
7 7  
8 8 <div id="limit">
9   - <%= labelled_text_field(_('Limit:'), "block[limit_to_show]", @block.limit_to_show, :style => 'width: 40%') %>
  9 + <%= labelled_text_field(_('Limit:'), "block[limit_to_show]", @block.limit_to_show, :class => "limit-input") %>
10 10 </div>
11 11  
12 12 <script type="text/javascript" >
... ...