Make tables responsive
This commit is contained in:
parent
4b75987f21
commit
24f80bc18c
2
public/css/app.min.css
vendored
2
public/css/app.min.css
vendored
File diff suppressed because one or more lines are too long
@ -32,6 +32,36 @@
|
||||
.details .flex > * {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
table,
|
||||
table th,
|
||||
table td,
|
||||
table .align-right,
|
||||
table.align-center {
|
||||
border: 0;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table td {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
table.media-details td {
|
||||
display: block;
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
table thead {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.details .media-details td:nth-child(2n+1) {
|
||||
font-weight: bold;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 40em) {
|
||||
@ -50,10 +80,6 @@
|
||||
padding: 0 0.5rem 0.5rem;
|
||||
}
|
||||
|
||||
table {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.media {
|
||||
margin: 2px 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user