aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/static/scholar.css
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-01-25 18:44:33 -0800
committerBryan Newbold <bnewbold@archive.org>2021-01-25 18:44:35 -0800
commit1bd70950b6dfd92752a02c96e18051d11141c0bc (patch)
tree6e10346606be8692cbadb84a6a2e133db35886cc /fatcat_scholar/static/scholar.css
parente2c023915559b1230cf19a06734c6f5ed76148e3 (diff)
downloadfatcat-scholar-1bd70950b6dfd92752a02c96e18051d11141c0bc.tar.gz
fatcat-scholar-1bd70950b6dfd92752a02c96e18051d11141c0bc.zip
html: constrain thumbnail size better
Fixes some safari and mobile UI bugs.
Diffstat (limited to 'fatcat_scholar/static/scholar.css')
-rw-r--r--fatcat_scholar/static/scholar.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/fatcat_scholar/static/scholar.css b/fatcat_scholar/static/scholar.css
index 34b0e75..9c01a60 100644
--- a/fatcat_scholar/static/scholar.css
+++ b/fatcat_scholar/static/scholar.css
@@ -77,7 +77,8 @@ nav.ui.menu {
display: none !important;
}
.ui.items>.item>.image:not(.ui) {
- width: auto
+ width: auto;
+ max-height: 300px!important;
};
}
@media only screen and (min-width: 768px) {