summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrille Bollu <cyrpub@bollu.be>2019-10-25 14:12:24 +0200
committerRobin Appelman <robin@icewind.nl>2020-10-13 23:54:16 +0200
commit54302fff68c3690dee67daef6dc0e7b32b16a3aa (patch)
tree9136061829d0a0a7572886d7a1bf7ef1ba997d36
parenta75cb8ca859ec37705be3b036359fd46cd64bb5b (diff)
IMPROVE: Display main post with a bigger font in SinglePostTimeline
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
-rw-r--r--src/views/TimelineSinglePost.vue10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/views/TimelineSinglePost.vue b/src/views/TimelineSinglePost.vue
index 42b350e4..e15c87ab 100644
--- a/src/views/TimelineSinglePost.vue
+++ b/src/views/TimelineSinglePost.vue
@@ -2,7 +2,7 @@
<div class="social__wrapper">
<profile-info v-if="accountLoaded && accountInfo" :uid="uid" />
<composer v-show="composerDisplayStatus" />
- <timeline-entry :item="mainPost" />
+ <timeline-entry class="main-post" :item="mainPost" />
<timeline-list v-if="timeline" :type="$route.params.type" />
</div>
</template>
@@ -104,3 +104,11 @@ export default {
}
}
</script>
+
+<style>
+ /* Show main post with a bigger font */
+ .main-post {
+ font-size: 150%;
+ }
+</style>
+