Browse Source

Fix responsive sizing of definition table #1428

pull/1481/head
jlukic 9 years ago
parent
commit
cf5e4b4da2
1 changed files with 15 additions and 1 deletions
  1. 16
      src/definitions/collections/table.less

16
src/definitions/collections/table.less

@ -143,7 +143,7 @@
/* Responsive */ /* Responsive */
@media only screen and (max-width : 768px) {
@media only screen and (max-width : @largestMobileScreen) {
.ui.table { .ui.table {
display: block; display: block;
padding: 0em; padding: 0em;
@ -189,6 +189,20 @@
.ui.table tr > td.negative { .ui.table tr > td.negative {
background-color: @responsiveStatusColor !important; background-color: @responsiveStatusColor !important;
} }
/* Definition Table */
.ui.definition.table thead th:first-child {
box-shadow: none !important;
}
.ui.definition.table tr td:first-child {
padding-bottom: @responsiveRowVerticalPadding;
}
.ui.definition.table tr td:nth-child(n+2) {
padding-top: @responsiveRowVerticalPadding;
}
} }

Loading…
Cancel
Save