From 5af59bc525b55d53f830f1c7075d2c6f6dcb3bd6 Mon Sep 17 00:00:00 2001 From: Sam Pohlenz Date: Wed, 2 Oct 2024 14:56:04 +0930 Subject: [PATCH] Fix Sass deprecation warning in Trestle _custom.scss --- app/assets/stylesheets/trestle/_custom.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/trestle/_custom.scss b/app/assets/stylesheets/trestle/_custom.scss index 2e696d0..bbfcffa 100644 --- a/app/assets/stylesheets/trestle/_custom.scss +++ b/app/assets/stylesheets/trestle/_custom.scss @@ -7,6 +7,8 @@ // @import "trestle/custom/my_custom_css"; // +@use "sass:math"; + .poster-column { padding-top: 4px !important; padding-bottom: 4px !important; @@ -36,6 +38,6 @@ .media-grid { figure.aspect-ratio-16x9 { - padding-bottom: percentage(9 / 16) + padding-bottom: percentage(math.div(9, 16)); } }