Media gallery styling closer to upstream's
This commit is contained in:
@ -48,5 +48,6 @@
|
||||
width: inherit;
|
||||
max-width: none;
|
||||
height: 250px;
|
||||
border-radius: 0px;
|
||||
}
|
||||
}
|
||||
|
@ -78,17 +78,11 @@
|
||||
box-sizing: border-box;
|
||||
margin-top: 8px;
|
||||
overflow: hidden;
|
||||
border-radius: 4px;
|
||||
position: relative;
|
||||
background: $base-shadow-color;
|
||||
width: 100%;
|
||||
height: 110px;
|
||||
|
||||
.detailed-status & {
|
||||
margin-left: -14px;
|
||||
width: calc(100% + 28px);
|
||||
height: 250px;
|
||||
}
|
||||
|
||||
@include fullwidth-gallery;
|
||||
}
|
||||
|
||||
@ -98,6 +92,12 @@
|
||||
display: block;
|
||||
float: left;
|
||||
position: relative;
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
|
||||
.full-width & {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
&.standalone {
|
||||
.media-gallery__item-gifv-thumbnail {
|
||||
@ -105,13 +105,17 @@
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.letterbox {
|
||||
background: $base-shadow-color;
|
||||
}
|
||||
}
|
||||
|
||||
.media-gallery__item-thumbnail {
|
||||
cursor: zoom-in;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
height: 100%;
|
||||
color: $secondary-text-color;
|
||||
line-height: 0;
|
||||
|
||||
&,
|
||||
|
Reference in New Issue
Block a user