Skip to content

Commit

Permalink
poll-slider: use padding instead of margin to fix errors with long an…
Browse files Browse the repository at this point in the history
…swers

fixes #2886
  • Loading branch information
goapunk authored and m4ra committed Jan 6, 2025
1 parent 8090464 commit 9195288
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adhocracy-plus/assets/scss/components/_a4-poll.scss
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,10 @@ $checkbox-size: 20px;
.slick-slide {
height: auto;
position: relative;
margin: 0 $spacer 0 (2 * $spacer);
padding: 0 $spacer 0 (2 * $spacer);

@media (min-width: $breakpoint) {
margin: 0 3 * $spacer;
padding: 0 3 * $spacer;
}
}

Expand Down
3 changes: 3 additions & 0 deletions changelog/_0004.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Fixed

- fix other answers in the poll-slider overlapping on long text.

0 comments on commit 9195288

Please sign in to comment.