Skip to content

Commit

Permalink
Fix quotes section on tablet screens
Browse files Browse the repository at this point in the history
The width of the `slick-carousel` element was incorrectly being set to a
very high amount on tablet-sized screens, resulting in the `.title`
section being squeezed into single characters and making the section
very tall. Adding `min-width: 0;` to the `.column` section prevents this
behavior. The solution was found here:

kenwheeler/slick#3991 (comment)
  • Loading branch information
ChrisCrossCrash committed Jun 11, 2022
1 parent 3bdea0f commit 1065162
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/assets/stylesheets/sections/quotes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@

.column {
width: inherit;
min-width: 0;
}

.title {
Expand Down
2 changes: 1 addition & 1 deletion public/stylesheets/bundle.css

Large diffs are not rendered by default.

0 comments on commit 1065162

Please sign in to comment.