diff options
author | ThibG <thib@sitedethib.com> | 2019-09-22 14:15:18 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-22 14:15:18 +0200 |
commit | b359974d9b356bb723fe046466b178328cf9bbaf (patch) | |
tree | bf8cb3887286aaced76a46ab80c7e250afbb763e /app/javascript/styles | |
parent | 26b810561a5b7cfd1766699358d998b5882a5876 (diff) |
Show user what options they have voted (#11195)
* Add own_votes field to poll results in REST API Fixes #10679 * Display user votes in WebUI * Update styling * Add vote checkmark to public pages
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/mastodon/polls.scss | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/app/javascript/styles/mastodon/polls.scss b/app/javascript/styles/mastodon/polls.scss index e80220f27..85ba138b4 100644 --- a/app/javascript/styles/mastodon/polls.scss +++ b/app/javascript/styles/mastodon/polls.scss @@ -95,13 +95,19 @@ &__number { display: inline-block; - width: 36px; + width: 48px; font-weight: 700; padding: 0 10px; text-align: right; margin-top: auto; margin-bottom: auto; - flex: 0 0 36px; + flex: 0 0 48px; + } + + &__vote__mark { + float: left; + color: $valid-value-color; + line-height: 18px; } &__footer { |