fix: images in article overflow
This commit is contained in:
parent
db09d3bf88
commit
0569d5577b
2 changed files with 10 additions and 3 deletions
|
@ -46,14 +46,14 @@ const { instanceDomain, userId, extraParams = '' } = Astro.props;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
/* custom emoji */
|
/* custom emoji */
|
||||||
.custom-emoji {
|
div img.custom-emoji {
|
||||||
height: 1.2em;
|
height: 1.2em;
|
||||||
width: auto;
|
width: auto;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin: 0 0.1em;
|
margin: 0 0.1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-emoji.emoji-error {
|
div img.custom-emoji.emoji-error {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -234,6 +234,12 @@ div.content {
|
||||||
margin: 0.5rem 0;
|
margin: 0.5rem 0;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Responsive Images */
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -299,3 +305,4 @@ div.content {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue