Commit 4a209184852ef3b7925983f583a3edce4d7d888a
1 parent
8eec1318
Exists in
colab
and in
4 other branches
Fix Pick color button size
Now it matches the field height
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/views/readings/_form.html.erb
... | ... | @@ -14,7 +14,7 @@ |
14 | 14 | <%= f.label :color, class: 'control-label' %><br> |
15 | 15 | <div class="input-append" id="color_div"> |
16 | 16 | <%= f.text_field :color, class: 'form-control' %> |
17 | - <input type="button" class="btn btn-info" id="pickcolor_button" value="Pick color"></input> | |
17 | + <input type="button" class="btn btn-info" style="padding: 5px" id="pickcolor_button" value="Pick color"></input> | |
18 | 18 | </div> |
19 | 19 | </div> |
20 | 20 | |
... | ... | @@ -34,4 +34,4 @@ |
34 | 34 | new ColorPicker($("#pickcolor_button"), options); |
35 | 35 | </script> |
36 | 36 | |
37 | -<%= f.submit 'Save', class: 'btn btn-primary' %> | |
38 | 37 | \ No newline at end of file |
38 | +<%= f.submit 'Save', class: 'btn btn-primary' %> | ... | ... |