-
-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #450 from bootscore/Add-missing-fallback-for-previ…
…ous-horizontal-loop-card-images Add missing fallback for previous horizontal loop card images
- Loading branch information
Showing
5 changed files
with
66 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
/*-------------------------------------------------------------- | ||
Recycle bin | ||
--------------------------------------------------------------*/ | ||
|
||
// Remove autop (WP 5.7 bug near shortcode) | ||
// https://wordpress.org/support/topic/how-to-stop-wp-from-adding-p-tag-automatically/ | ||
p:empty:before { | ||
content: none; | ||
} | ||
|
||
// Hide racaptcha v3 badge | ||
.grecaptcha-badge { | ||
display: none !important; | ||
} | ||
|
||
// Dark mode text-body in loop (remove in Bootstrap 5.3.0) | ||
.dark-theme .text-body { | ||
color: var(--#{$prefix}light) !important; | ||
} | ||
|
||
|
||
// Fallback for previous horizontal card images | ||
// See https://github.com/bootscore/bootscore/issues/447 | ||
// Remove in v6 | ||
// category.php, archive.php, author.php and search results | ||
@include media-breakpoint-down(lg) { | ||
.card-img-left-md img { | ||
border-top-left-radius: $border-radius; | ||
border-top-right-radius: $border-radius; | ||
width: 100%; | ||
height: auto; | ||
} | ||
} | ||
|
||
@include media-breakpoint-up(lg) { | ||
.card-img-left-md img { | ||
border-top-left-radius: $border-radius; | ||
border-bottom-left-radius: $border-radius; | ||
object-fit: cover; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
} | ||
|
||
// Sticky post in index.php | ||
@include media-breakpoint-down(md) { | ||
.card-img-left img { | ||
border-top-left-radius: $border-radius; | ||
border-top-right-radius: $border-radius; | ||
width: 100%; | ||
height: auto; | ||
} | ||
} | ||
|
||
@include media-breakpoint-up(md) { | ||
.card-img-left img { | ||
border-top-left-radius: $border-radius; | ||
border-bottom-left-radius: $border-radius; | ||
object-fit: cover; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
.../bootscore_woocommerce/_wc_temporary.scss → ...ootscore_woocommerce/_wc_recycle_bin.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters