diff options
| author | tusooa <tusooa@kazv.moe> | 2023-01-15 17:02:24 +0000 |
|---|---|---|
| committer | tusooa <tusooa@kazv.moe> | 2023-01-15 17:02:24 +0000 |
| commit | dc897a5fef9ed10e23bee9b36ee719c31996f7a5 (patch) | |
| tree | 1dad722edc84b5ba1759a13e1944167c5ffcf7c3 /src/components/poll/poll.vue | |
| parent | 4d2056d8aaa8f2c20a3275503857d38ac9112e5f (diff) | |
| parent | d2ba67d565ba68acc1938dc9ae2c866a6e39d4d6 (diff) | |
Merge branch 'tusooa/stylelint' into 'develop'
Use stylelint
Closes #1173 and #857
See merge request pleroma/pleroma-fe!1752
Diffstat (limited to 'src/components/poll/poll.vue')
| -rw-r--r-- | src/components/poll/poll.vue | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/components/poll/poll.vue b/src/components/poll/poll.vue index f6b12a54..cacc3298 100644 --- a/src/components/poll/poll.vue +++ b/src/components/poll/poll.vue @@ -90,7 +90,7 @@ <script src="./poll.js"></script> <style lang="scss"> -@import '../../_variables.scss'; +@import "../../variables"; .poll { .votes { @@ -98,9 +98,11 @@ flex-direction: column; margin: 0 0 0.5em; } + .poll-option { margin: 0.75em 0.5em; } + .option-result { height: 100%; display: flex; @@ -109,6 +111,7 @@ color: $fallback--lightText; color: var(--lightText, $fallback--lightText); } + .option-result-label { display: flex; align-items: center; @@ -116,10 +119,12 @@ z-index: 1; word-break: break-word; } + .result-percentage { width: 3.5em; flex-shrink: 0; } + .result-fill { height: 100%; position: absolute; @@ -133,20 +138,25 @@ left: 0; transition: width 0.5s; } + .option-vote { display: flex; align-items: center; } + input { width: 3.5em; } + .footer { display: flex; align-items: center; } + &.loading * { cursor: progress; } + .poll-vote-button { padding: 0 0.5em; margin-right: 0.5em; |
