Fix Gallery "fit height" in Chrom*
This commit is contained in:
parent
ba2ecd8237
commit
6ef4beb3e6
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1192,6 +1192,13 @@ a:only-of-type > .remove {
|
||||
max-width: 100%;
|
||||
}
|
||||
.gal-fit-height .gal-image img {
|
||||
/*
|
||||
Chrome doesn't support viewpoint units in calc()
|
||||
http://bugs.chromium.org/168840
|
||||
"It looks like the original author of viewport units in WebKit is not coming back to fix this stuff."
|
||||
Well, fuck.
|
||||
*/
|
||||
max-height: 95vh;
|
||||
max-height: calc(100vh - 25px);
|
||||
}
|
||||
.gal-buttons {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user