Skip to content

Commit

Permalink
Fix Sass deprecation warning in Trestle _custom.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
spohlenz committed Oct 2, 2024
1 parent 8e0d6da commit 5af59bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/assets/stylesheets/trestle/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
// @import "trestle/custom/my_custom_css";
//

@use "sass:math";

.poster-column {
padding-top: 4px !important;
padding-bottom: 4px !important;
Expand Down Expand Up @@ -36,6 +38,6 @@

.media-grid {
figure.aspect-ratio-16x9 {
padding-bottom: percentage(9 / 16)
padding-bottom: percentage(math.div(9, 16));
}
}

0 comments on commit 5af59bc

Please sign in to comment.