Skip to content

Commit

Permalink
fix: Unify news-activity with other attached activity - MEED-7248 - M…
Browse files Browse the repository at this point in the history
…eeds-io/meeds#2286 (#3989)

This PR allows to unify the UI of the news activity with activity link type.
  • Loading branch information
SaraBoutej authored Aug 30, 2024
1 parent 61cc3ba commit 6a0a273
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,6 @@
}
}
#ActivityStream .activity-thumbnail-box {
max-height: 100px !important;
max-height: 120px !important;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export default {
return this.sourceLink && (this.sourceLink.indexOf('/') === 0 || this.sourceLink.indexOf('#') === 0) && '_self' || (this.sourceLink && '_blank') || '';
},
thumbnailHeight() {
return this.thumbnailProperties && this.thumbnailProperties.height || (!this.useEmbeddedLinkView && '150px' || '100px');
return this.thumbnailProperties && this.thumbnailProperties.height || (!this.useEmbeddedLinkView && '150px' || '120px');
},
thumbnailWidth() {
return this.thumbnailProperties && this.thumbnailProperties.width || (!this.useEmbeddedLinkView && '252px' || '150px');
Expand All @@ -241,7 +241,7 @@ export default {
return this.thumbnailProperties && this.thumbnailProperties.noBorder;
},
iconHeight() {
return this.defaultIcon && this.defaultIcon.height || '100px';
return this.defaultIcon && this.defaultIcon.height || '120px';
},
iconWidth() {
return this.defaultIcon && this.defaultIcon.width || '175px';
Expand Down

0 comments on commit 6a0a273

Please sign in to comment.