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;
|
||||
}
|
||||
/* custom emoji */
|
||||
.custom-emoji {
|
||||
div img.custom-emoji {
|
||||
height: 1.2em;
|
||||
width: auto;
|
||||
vertical-align: middle;
|
||||
margin: 0 0.1em;
|
||||
}
|
||||
|
||||
.custom-emoji.emoji-error {
|
||||
div img.custom-emoji.emoji-error {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
|
@ -234,6 +234,12 @@ div.content {
|
|||
margin: 0.5rem 0;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
/* Responsive Images */
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -298,4 +304,5 @@ div.content {
|
|||
nav.nav,.search-container,footer,div.extra-post {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue