* Increase specificity of activity panel css to avoid conflicts

* Fix linting

* Fix some other styles

* Add changelog
This commit is contained in:
louwie17 2021-10-21 22:18:11 -03:00 committed by GitHub
parent 07adc231f9
commit c12a451af0
3 changed files with 8 additions and 4 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: Fix
Increase CSS specificity to avoid conflicts and broken panel styling. #7813

View File

@ -1,4 +1,4 @@
.woocommerce-activity-card {
.woocommerce-activity-panel .woocommerce-activity-card {
position: relative;
padding: $fallback-gutter;
padding: $gutter;
@ -209,7 +209,7 @@
}
// Needs the double-class for specificity
.woocommerce-activity-card.woocommerce-order-activity-card {
.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-order-activity-card {
grid-template-columns: 1fr;
grid-template-areas:
'header'
@ -232,7 +232,7 @@
}
// Needs the double-class for specificity
.woocommerce-activity-card.woocommerce-inbox-activity-card {
.woocommerce-activity-panel .woocommerce-activity-card.woocommerce-inbox-activity-card {
grid-template-columns: 72px 1fr;
height: 100%;
opacity: 1;

View File

@ -1,4 +1,4 @@
.woocommerce-activity-panel {
.woocommerce-homescreen .woocommerce-activity-panel {
background: transparent;
border: 0;