Skip to content

Commit 72385c1

Browse files
committed
Improve poll style consistency between results and ballot
1 parent 2a3c351 commit 72385c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/javascript/css/components/poll.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
border-radius: 0.375rem;
1111
font-size: var(--step--1);
1212
font-weight: 700;
13+
border: 1px solid transparent;
1314
}
1415

1516
& .bar {
16-
border: 1px solid transparent;
1717
background-color: var(--joy-poll-result-default);
1818
position: absolute;
1919
top: 0;

app/views/share/polls/results.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def view_template
2020
end
2121

2222
div(class: "p-2") do
23-
p(class: "text-small font-extrabold") { pluralize question.votes_count, "vote" }
23+
p(class: "text-small text-theme") { pluralize question.votes_count, "vote" }
2424
end
2525
end
2626
end

0 commit comments

Comments
 (0)