mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Hide sort select on larger screens, closes #300
This commit is contained in:
parent
a80e1d50b9
commit
7381af85e6
2 changed files with 12 additions and 2 deletions
|
|
@ -35,7 +35,14 @@ table a:link {
|
|||
table a:visited {
|
||||
color: #8f54c4;
|
||||
}
|
||||
.small-screen-only,
|
||||
.select-wrapper.small-screen-only {
|
||||
display: none;
|
||||
}
|
||||
@media only screen and (max-width: 576px) {
|
||||
.small-screen-only {
|
||||
display: initial;
|
||||
}
|
||||
/* Force table to not be like tables anymore */
|
||||
table.rows-and-columns,
|
||||
.rows-and-columns thead,
|
||||
|
|
@ -219,6 +226,9 @@ form input[type=submit] {
|
|||
font-family: Helvetica, sans-serif;
|
||||
}
|
||||
@media only screen and (max-width: 576px) {
|
||||
.select-wrapper.small-screen-only {
|
||||
display: inline-block;
|
||||
}
|
||||
.select-wrapper {
|
||||
width: 100px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue