mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 01:46:51 +01:00
restrict height of photos in portrait orientation
This commit is contained in:
parent
3f423c2fda
commit
e8b9931263
@ -128,6 +128,8 @@
|
||||
figcaption {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
img { max-height: 540px }
|
||||
|
||||
figcaption {
|
||||
position: absolute;
|
||||
@ -167,6 +169,8 @@
|
||||
padding-bottom: @line-height-computed*6;
|
||||
}
|
||||
|
||||
figure img { max-height: none }
|
||||
|
||||
figcaption {
|
||||
opacity: 1;
|
||||
.translate(0,0);
|
||||
|
Loading…
Reference in New Issue
Block a user