mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-25 07:54:11 -05:00
Poll style improvements.
This commit is contained in:
parent
f628ca3d8d
commit
cc607dc0b5
2 changed files with 7 additions and 1 deletions
|
@ -14,10 +14,12 @@
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<button {{action toggleShowResults}}>
|
<button {{action toggleShowResults}} class="btn btn-small">
|
||||||
{{#if showResults}}
|
{{#if showResults}}
|
||||||
|
<i class="fa fa-eye-slash"></i>
|
||||||
{{i18n poll.results.hide}}
|
{{i18n poll.results.hide}}
|
||||||
{{else}}
|
{{else}}
|
||||||
|
<i class="fa fa-eye"></i>
|
||||||
{{i18n poll.results.show}}
|
{{i18n poll.results.show}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -147,4 +147,8 @@ register_css <<CSS
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.poll-ui button i.fa {
|
||||||
|
margin-right: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
CSS
|
CSS
|
||||||
|
|
Loading…
Reference in a new issue