[Glitch] Change inner borders in media galleries in web UI
Port a3215c0f88 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
eb28472ded
commit
196b141af5
2 files changed
+59
-1
No files matched your search
@@ -312,7 +312,7 @@ class MediaGallery extends PureComponent {
|
||||
|
||||
const style = {};
|
||||
|
||||
const computedClass = classNames('media-gallery', { 'full-width': fullwidth });
|
||||
const computedClass = classNames('media-gallery', `media-gallery--layout-${size}`, { 'full-width': fullwidth });
|
||||
|
||||
if (this.isStandaloneEligible()) { // TODO: cropImages setting
|
||||
style.aspectRatio = `${this.props.media.getIn([0, 'meta', 'small', 'aspect'])}`;
|
||||
|
||||
Reference in new issue
Block a user