summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/app/desktop/tags/sub-post-content.tag7
-rw-r--r--src/web/app/mobile/tags/sub-post-content.tag7
2 files changed, 14 insertions, 0 deletions
diff --git a/src/web/app/desktop/tags/sub-post-content.tag b/src/web/app/desktop/tags/sub-post-content.tag
index 22fd818115..b301f8ef3b 100644
--- a/src/web/app/desktop/tags/sub-post-content.tag
+++ b/src/web/app/desktop/tags/sub-post-content.tag
@@ -4,6 +4,10 @@
<summary>({ post.media.length }つのメディア)</summary>
<mk-images-viewer images={ post.media }></mk-images-viewer>
</details>
+ <details if={ post.poll }>
+ <summary>投票</summary>
+ <mk-poll post={ post }></mk-poll>
+ </details>
<style type="stylus">
:scope
display block
@@ -19,6 +23,9 @@
font-style oblique
color #a0bf46
+ mk-poll
+ font-size 80%
+
</style>
<script>
@mixin \text
diff --git a/src/web/app/mobile/tags/sub-post-content.tag b/src/web/app/mobile/tags/sub-post-content.tag
index 851a39f036..55ea0b5646 100644
--- a/src/web/app/mobile/tags/sub-post-content.tag
+++ b/src/web/app/mobile/tags/sub-post-content.tag
@@ -4,6 +4,10 @@
<summary>({ post.media.length }つのメディア)</summary>
<mk-images-viewer images={ post.media }></mk-images-viewer>
</details>
+ <details if={ post.poll }>
+ <summary>投票</summary>
+ <mk-poll post={ post }></mk-poll>
+ </details>
<style type="stylus">
:scope
display block
@@ -19,6 +23,9 @@
font-style oblique
color #a0bf46
+ mk-poll
+ font-size 80%
+
</style>
<script>
@mixin \text