[fix] no horizontal scrolling on small screen

[fix] small images in the results aren't not "zoomed"
dependabot/pip/master/sphinx-6.1.3
dalf 10 years ago
parent 5740cfbf1c
commit 400279182e

File diff suppressed because one or more lines are too long

@ -126,6 +126,7 @@ fieldset {
#categories {
margin: 0 10px;
.user-select;
}
.checkbox_container {
@ -297,14 +298,14 @@ a {
}
.image_result {
float: left;
display: inline-block;
margin: 10px 10px;
position: relative;
height: 160px;
max-height: 160px;
img {
border: 0;
height: 160px;
max-height: 160px;
}
p {
@ -501,7 +502,6 @@ tr {
#pagination {
clear: both;
width: 40em;
}
#apis {
@ -516,6 +516,7 @@ tr {
padding: 0;
width: 90%;
}
.github {
display: none;
}
@ -591,6 +592,13 @@ tr {
border-top: 1px solid @color-result-top-border;
margin: 7px 0 6px 0;
}
.image_result {
max-width: 98%;
img {
max-width: 98%;
}
}
}
.favicon {

Loading…
Cancel
Save