mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 17:13:09 +02:00
[Client] Display a poll in a sub post
This commit is contained in:
parent
32b1afb626
commit
d7bc8cf5a8
2 changed files with 14 additions and 0 deletions
|
@ -4,6 +4,10 @@
|
||||||
<summary>({ post.media.length }つのメディア)</summary>
|
<summary>({ post.media.length }つのメディア)</summary>
|
||||||
<mk-images-viewer images={ post.media }></mk-images-viewer>
|
<mk-images-viewer images={ post.media }></mk-images-viewer>
|
||||||
</details>
|
</details>
|
||||||
|
<details if={ post.poll }>
|
||||||
|
<summary>投票</summary>
|
||||||
|
<mk-poll post={ post }></mk-poll>
|
||||||
|
</details>
|
||||||
<style type="stylus">
|
<style type="stylus">
|
||||||
:scope
|
:scope
|
||||||
display block
|
display block
|
||||||
|
@ -19,6 +23,9 @@
|
||||||
font-style oblique
|
font-style oblique
|
||||||
color #a0bf46
|
color #a0bf46
|
||||||
|
|
||||||
|
mk-poll
|
||||||
|
font-size 80%
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
@mixin \text
|
@mixin \text
|
||||||
|
|
|
@ -4,6 +4,10 @@
|
||||||
<summary>({ post.media.length }つのメディア)</summary>
|
<summary>({ post.media.length }つのメディア)</summary>
|
||||||
<mk-images-viewer images={ post.media }></mk-images-viewer>
|
<mk-images-viewer images={ post.media }></mk-images-viewer>
|
||||||
</details>
|
</details>
|
||||||
|
<details if={ post.poll }>
|
||||||
|
<summary>投票</summary>
|
||||||
|
<mk-poll post={ post }></mk-poll>
|
||||||
|
</details>
|
||||||
<style type="stylus">
|
<style type="stylus">
|
||||||
:scope
|
:scope
|
||||||
display block
|
display block
|
||||||
|
@ -19,6 +23,9 @@
|
||||||
font-style oblique
|
font-style oblique
|
||||||
color #a0bf46
|
color #a0bf46
|
||||||
|
|
||||||
|
mk-poll
|
||||||
|
font-size 80%
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
@mixin \text
|
@mixin \text
|
||||||
|
|
Loading…
Reference in a new issue