diff options
| author | shpuld <shp@cock.li> | 2019-01-27 22:33:36 +0200 |
|---|---|---|
| committer | William Pitcock <nenolod@dereferenced.org> | 2019-01-28 05:50:12 +0000 |
| commit | 96c36af73168913768818f5293358f460e30c24f (patch) | |
| tree | 690e0eae13e7d4cf32bfb142d6922d7909f5a11b /src/components/status/status.vue | |
| parent | 2b86f6e883878bcec624d4a99aadac81d87f2826 (diff) | |
refactor the FE parts
Diffstat (limited to 'src/components/status/status.vue')
| -rw-r--r-- | src/components/status/status.vue | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue index aa37ad51..d88428c7 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -98,8 +98,8 @@ </attachment> </div> - <div v-if='status.card && !hideSubjectStatus && !noHeading' class='link-preview media-body'> - <link-preview :card="status.card"></link-preview> + <div v-if="status.card && !hideSubjectStatus && !noHeading" class="link-preview media-body"> + <link-preview :card="status.card" :size="attachmentSize" :nsfw="nsfwClickthrough" /> </div> <div v-if="!noHeading && !noReplyLinks" class='status-actions media-body'> @@ -225,6 +225,11 @@ vertical-align: bottom; flex-basis: 100%; + a { + display: inline-block; + word-break: break-all; + } + small { font-weight: lighter; } @@ -300,11 +305,6 @@ } } - a { - display: inline-block; - word-break: break-all; - } - .tall-status { position: relative; height: 220px; @@ -313,6 +313,8 @@ } .tall-status-hider { + display: inline-block; + word-break: break-all; position: absolute; height: 70px; margin-top: 150px; @@ -330,6 +332,8 @@ .status-unhider, .cw-status-hider { width: 100%; text-align: center; + display: inline-block; + word-break: break-all; } .status-content { |
