| 1 |
:root { |
| 2 |
--padding-default: 15px; |
| 3 |
} |
| 4 |
|
| 5 |
#track-post-types { |
| 6 |
max-width: 550px; |
| 7 |
width: 100%; |
| 8 |
} |
| 9 |
|
| 10 |
#track-post-types th, |
| 11 |
#track-post-types td { |
| 12 |
display: table-cell; |
| 13 |
padding: var(--padding-default); |
| 14 |
text-align: center; |
| 15 |
vertical-align: middle; |
| 16 |
} |
| 17 |
|
| 18 |
#track-post-types td { |
| 19 |
padding: 0; /* Set padding to 0 so labels can take the space */ |
| 20 |
} |
| 21 |
|
| 22 |
/* Make radio box clickable in whole cell */ |
| 23 |
#track-post-types td label { |
| 24 |
display: inline-block; |
| 25 |
margin: 0 !important; |
| 26 |
padding-top: var(--padding-default); |
| 27 |
padding-bottom: var(--padding-default); |
| 28 |
width: 100%; |
| 29 |
} |
| 30 |
|
| 31 |
@media only screen and (max-width: 380px) { |
| 32 |
|
| 33 |
#track-post-types th, |
| 34 |
#track-post-types td { |
| 35 |
padding-left: 10px; |
| 36 |
padding-right: 10px; |
| 37 |
} |
| 38 |
|
| 39 |
#track-post-types th:first-child { |
| 40 |
max-width: 120px; |
| 41 |
overflow: hidden; |
| 42 |
text-overflow: ellipsis; |
| 43 |
white-space: nowrap; |
| 44 |
} |
| 45 |
} |
| 46 |
|