Merge pull request from tpritc/mac-release

Fix for bug  — Detail stylesheet doesn't account for figures
This commit is contained in:
Maurice Parker 2019-09-04 14:13:31 -05:00 committed by GitHub
commit 25466a8aef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 2 deletions
Mac/MainWindow/Detail
iOS/Resources

@ -122,9 +122,15 @@ code, pre {
pre { pre {
white-space: pre-wrap; white-space: pre-wrap;
} }
img, video { img, figure, video {
max-width: 100%; max-width: 100%;
height: auto; height: auto;
margin: 0 auto;
}
figcaption {
font-size: 14px;
line-height: 1.3em;
} }
/*Block ads and junk*/ /*Block ads and junk*/

@ -125,9 +125,15 @@ code, pre {
pre { pre {
white-space: pre-wrap; white-space: pre-wrap;
} }
img, video { img, figure, video {
max-width: 100%; max-width: 100%;
height: auto; height: auto;
margin: 0 auto;
}
figcaption {
font-size: 14px;
line-height: 1.3em;
} }
/*Block ads and junk*/ /*Block ads and junk*/