From de83da4d18c6d53c6f787706e0d86b8e10fc4566 Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Sun, 18 Aug 2024 18:37:45 +0200 Subject: [PATCH 1/2] Add SCSS files to .editorconfig --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index c6ff04681..d79cf6f2d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,7 +9,7 @@ indent_size = 4 trim_trailing_whitespace = true insert_final_newline = true -[*.{js,css}] +[*.{js,css,scss}] indent_style = space indent_size = 2 From ae09aa0e42986f7211c1ef65702669a39c502063 Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Sun, 18 Aug 2024 18:39:22 +0200 Subject: [PATCH 2/2] Fix Sass mixed declaration depreciation notices see https://sass-lang.com/documentation/breaking-changes/mixed-decls/ --- assets/material/css/cards.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/assets/material/css/cards.scss b/assets/material/css/cards.scss index 6733be134..17e096059 100644 --- a/assets/material/css/cards.scss +++ b/assets/material/css/cards.scss @@ -268,9 +268,11 @@ a.original:not(.waves-effect) { } @include mixin-reading-time { - padding: 0 5px; - flex-wrap: wrap; - margin-left: auto; + & { + padding: 0 5px; + flex-wrap: wrap; + margin-left: auto; + } i.material-icons { font-size: 20px;