Equalise table padding

This commit is contained in:
chris (daiyi) 2017-08-31 16:55:18 +02:00 committed by Daniel Compton
parent f9d7f07ed9
commit 5f3cb0dbb8
3 changed files with 15 additions and 1 deletions

View File

@ -162,6 +162,14 @@
#--re-frame-trace-- table {
display: table;
}
#--re-frame-trace-- th,
#--re-frame-trace-- td {
display: table-cell;
padding: 0 5px;
}
#--re-frame-trace-- tr {
display: table-row;
}
#--re-frame-trace-- thead {
display: table-header-group;
}

View File

@ -214,6 +214,13 @@
table {
display: table;
}
th, td {
display: table-cell;
padding: 0 5px;
}
tr {
display: table-row;
}
thead {
display: table-header-group;
}

View File

@ -265,7 +265,6 @@
[:div.filter-control-input {:style {:margin-left 10}}
[search-input {:on-save save-query
:on-change #(reset! filter-input (.. % -target -value))}]
[components/icon-add]
(if @input-error
[:div.input-error {:style {:color "red" :margin-top 5}}
"Please enter a valid number."])]]]