+
+
+
+
+
-
-
- {{s.favourites_count}}
+ {{formatCount(s.favourites_count)}}
-
- {{s.reblogs_count}}
+
+ {{formatCount(s.reply_count)}}
@@ -818,6 +839,11 @@
return 'background-image: url(' + preview + ');';
},
+ blurhHashMedia(status) {
+ return status.sensitive ? null :
+ status.media_attachments[0].preview_url;
+ },
+
switchMode(mode) {
this.mode = _.indexOf(this.modes, mode) ? mode : 'grid';
if(this.mode == 'bookmarks' && this.bookmarks.length == 0) {
diff --git a/resources/assets/sass/custom.scss b/resources/assets/sass/custom.scss
index 955ba8a44..c5bf732f1 100644
--- a/resources/assets/sass/custom.scss
+++ b/resources/assets/sass/custom.scss
@@ -131,6 +131,22 @@ body, button, input, textarea {
background-color: rgba(0,0,0,0.5);
}
+.info-overlay-text-label {
+ display: flex;
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ background-color: rgba(0,0,0,0.5);
+
+ h5 {
+ z-index: 2;
+ }
+}
+
+.info-overlay:hover .info-overlay-text-label {
+ display: none;
+}
+
.font-weight-lighter {
font-weight: 300 !important
}
@@ -565,4 +581,17 @@ details summary::-webkit-details-marker {
.follow-modal {
max-width: 400px !important;
+}
+
+.square-content {
+ img {
+ object-fit: cover !important;
+ }
+}
+
+.square .square-content {
+ canvas {
+ width: 100%;
+ height: 100%;
+ }
}
\ No newline at end of file