mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-05 02:08:08 +09:00
[Client] Display a poll in a sub post
This commit is contained in:
parent
f24474f3bc
commit
81f6ca9adb
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user