Keep the original image shadow of the theme

Bootstrap 4.6.x has its own class `.shadow`
This commit is contained in:
Cotes Chung 2022-02-13 05:54:52 +08:00
parent 5295bbf4f9
commit 5753118d8b

View file

@ -211,6 +211,7 @@ img[data-src] {
&.shadow { &.shadow {
filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.08)); filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.08));
box-shadow: none !important; // cover the Bootstrap 4.6.1 styles
} }
@extend %img-caption; @extend %img-caption;