Give attachments a max height
This commit is contained in:
parent
dbe15d9054
commit
a152c942ea
1 changed files with 9 additions and 3 deletions
|
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
clear: both;
|
clear: both;
|
||||||
font-size: 18px;
|
font-size: 20px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
}
|
}
|
||||||
|
|
@ -52,6 +52,8 @@
|
||||||
img,
|
img,
|
||||||
video {
|
video {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -217,8 +219,12 @@
|
||||||
margin-bottom: 0
|
margin-bottom: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
section.posts .post .content + .attachments {
|
section.posts .post .attachments {
|
||||||
margin-top: 18px;
|
margin-top: 16px;
|
||||||
|
height: 320px;
|
||||||
|
display: flex;
|
||||||
|
max-width: 100%;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
section.posts .post .controls {
|
section.posts .post .controls {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue