This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix broken style in media gallery (regression from
#3963
) (
#4014
)
closed-social-v3
Yamagishi Kazutoshi
7 years ago
committed by
Eugen Rochko
parent
7362469d89
commit
0e09048537
1 changed files
with
3 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-6
app/javascript/styles/components.scss
+ 3
- 6
app/javascript/styles/components.scss
View File
@ -3421,19 +3421,16 @@ button.icon-button.active i.fa-retweet {
}
.
media-gallery__item-thumbnail
{
background-position
:
center
;
background-repeat
:
no-repeat
;
background-size
:
cover
;
cursor
:
zoom-in
;
display
:
flex
;
align-items
:
center
;
display
:
block
;
text-decoration
:
none
;
height
:
100
%
;
&
,
img
{
width
:
100
%
;
overflow
:
hidden
;
height
:
100
%
;
object-fit
:
cover
;
}
}
Write
Preview
Loading…
Cancel
Save