mirror of
https://github.com/standardebooks/web.git
synced 2025-07-16 11:26:37 -04:00
Improve support for small screens in ebook list/grid view
This commit is contained in:
parent
2b9030b408
commit
6334838079
1 changed files with 16 additions and 1 deletions
|
@ -1239,7 +1239,13 @@ main.ebooks > ol.list > li > a{
|
|||
main.ebooks > ol.list ul.tags{
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
margin-left: 0;
|
||||
margin-left: -.25rem;
|
||||
margin-top: .25rem;
|
||||
}
|
||||
|
||||
main.ebooks > ol.list ul.tags li{
|
||||
margin-left: .25rem;
|
||||
margin-top: .25rem;
|
||||
}
|
||||
|
||||
main.ebooks > ol.list > li p{
|
||||
|
@ -2616,6 +2622,15 @@ abbr.acronym{
|
|||
main.ebooks nav > a{
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
main.ebooks > ol.list > li{
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
main.ebooks > ol.list > li img{
|
||||
max-width: 50%;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@supports not(hyphens: auto){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue