From 2605b12ed0937ad2823619f814b2144930b5a01b Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Sat, 28 Jan 2023 14:18:05 +1100 Subject: [PATCH] fix sass compound selector extensions Sass changed the way compound selectors can be extended, as outlined here: https://sass-lang.com/documentation/breaking-changes/extend-compound This commit aligns the styles in shepherd.scss to the nwe compound selector extension format. --- bookwyrm/static/css/vendor/shepherd.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bookwyrm/static/css/vendor/shepherd.scss b/bookwyrm/static/css/vendor/shepherd.scss index f8d39b782..5e84b2ea7 100644 --- a/bookwyrm/static/css/vendor/shepherd.scss +++ b/bookwyrm/static/css/vendor/shepherd.scss @@ -6,16 +6,16 @@ @use 'bulma/bulma.sass'; .shepherd-button { - @extend .button.mr-2; + @extend .button, .mr-2; } .shepherd-button.shepherd-button-secondary { - @extend .button.is-light; + @extend .button, .is-light; } .shepherd-footer { @extend .message-body; - @extend .is-info.is-light; + @extend .is-info, .is-light; border-color: $info-light; border-radius: 0 0 4px 4px; } @@ -29,7 +29,7 @@ .shepherd-text { @extend .message-body; - @extend .is-info.is-light; + @extend .is-info, .is-light; border-radius: 0; }