Skip to content

Commit 8219953

Browse files
authored
Merge pull request #420 from isawnyu/issue419
fixes #419
2 parents 422f3e3 + ddebbee commit 8219953

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/isaw.theme/isaw/theme/static/theme.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,18 @@ body[class*="isaw-home"][class*="section"][class*="template-document_view"] #por
275275
background-color: seashell;
276276
}
277277

278+
/* captioned images */
279+
span.captioned, span.captioned * {
280+
max-width: 100%;
281+
max-height: unset;
282+
height: auto !important;
283+
}
284+
@media screen and (max-width:767px){
285+
span.captioned, span.captioned * {
286+
width: 100% !important;
287+
}
288+
}
289+
278290
#portal-column-first {display:block; float:left; margin:0 5% 0 0; width:24%; }
279291
#portal-columns #portal-column-first dl dd {margin-left:0; }
280292

0 commit comments

Comments
 (0)