Skip to content

A platform for community discussion. Free, open, simple.

UX: prevents jumpyness when displaying poll voters (#9054)

Joffrey JAFFEUXa4fc6ccc121f
diff --git a/plugins/poll/assets/stylesheets/common/poll.scss b/plugins/poll/assets/stylesheets/common/poll.scss
index 4ab9e427ab8..8306f7bfcf4 100644
--- a/plugins/poll/assets/stylesheets/common/poll.scss
+++ b/plugins/poll/assets/stylesheets/common/poll.scss
@@ -67,7 +67,9 @@ div.poll {
}
.poll-voters:not(:empty) {
+ min-height: 30px;
margin-bottom: 0.25em;
+
li {
display: inline;
}
@@ -76,6 +78,10 @@ div.poll {
.poll-voters-toggle-expand {
width: 100%;
text-align: center;
+
+ .spinner {
+ margin-top: 0.25em;
+ }
}
.results {