diff --git a/src/App.scss b/src/App.scss index e4b02017..61acc4ce 100644 --- a/src/App.scss +++ b/src/App.scss @@ -391,6 +391,11 @@ nav { } } +.faint { + color: $fallback--faint; + color: var(--faint, $fallback--faint); +} + @media all and (max-width: 959px) { .mobile-hidden { display: none; diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js index cd72e571..163dd74f 100644 --- a/src/components/attachment/attachment.js +++ b/src/components/attachment/attachment.js @@ -6,7 +6,8 @@ const Attachment = { props: [ 'attachment', 'nsfw', - 'statusId' + 'statusId', + 'size' ], data () { return { @@ -29,6 +30,9 @@ const Attachment = { }, isEmpty () { return (this.type === 'html' && !this.attachment.oembed) || this.type === 'unknown' + }, + isSmall () { + return this.size === 'small' } }, methods: { diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 04f6add4..6134f8e2 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -1,5 +1,8 @@