forked from AkkomaGang/akkoma-fe
Merge branch 'fix/attachment-sizing' into 'develop'
Fix/attachment sizing See merge request !67
This commit is contained in:
commit
d8387accd3
3 changed files with 9 additions and 4 deletions
|
@ -26,7 +26,7 @@ const Attachment = {
|
||||||
autoHeight () {
|
autoHeight () {
|
||||||
if (this.type === 'image' && this.nsfw) {
|
if (this.type === 'image' && this.nsfw) {
|
||||||
return {
|
return {
|
||||||
'min-height': '311px'
|
'min-height': '109px'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -116,8 +116,10 @@
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
object-fit: contain;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%; /* If this isn't here, chrome will stretch the images */
|
//height: 100%; /* If this isn't here, chrome will stretch the images */
|
||||||
|
max-height: 500px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -162,8 +162,11 @@
|
||||||
border-left: 4px rgba(255, 48, 16, 0.65);
|
border-left: 4px rgba(255, 48, 16, 0.65);
|
||||||
border-left-style: inherit;
|
border-left-style: inherit;
|
||||||
}
|
}
|
||||||
.muted button {
|
.muted {
|
||||||
margin-left: auto;
|
padding: 0.1em 0.7em 0.1em 0.8em;
|
||||||
|
button {
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a.unmute {
|
a.unmute {
|
||||||
|
|
Loading…
Reference in a new issue