Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
mastofe
Commits
473e8491
Verified
Commit
473e8491
authored
Apr 23, 2019
by
Haelwenn
Browse files
Put a max-size on inlined images
parent
312e3674
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/javascript/flavours/glitch/styles/components/status.scss
View file @
473e8491
...
...
@@ -66,6 +66,12 @@
margin
:
-3px
0
0
;
}
img
{
max-width
:
100%
;
max-height
:
400px
;
object-fit
:
contain
;
}
p
,
pre
,
blockquote
{
margin-bottom
:
20px
;
white-space
:
pre-wrap
;
...
...
app/javascript/styles/mastodon/components.scss
View file @
473e8491
...
...
@@ -800,6 +800,12 @@
margin
:
-3px
0
0
;
}
img
{
max-width
:
100%
;
max-height
:
400px
;
object-fit
:
contain
;
}
p
{
margin-bottom
:
20px
;
white-space
:
pre-wrap
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment