Fix/7812 activity panel styling (https://github.com/woocommerce/woocommerce-admin/pull/7813)
* Increase specificity of activity panel css to avoid conflicts * Fix linting * Fix some other styles * Add changelog
This commit is contained in:
parent
07adc231f9
commit
c12a451af0
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: Fix
|
||||
|
||||
Increase CSS specificity to avoid conflicts and broken panel styling. #7813
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.woocommerce-activity-panel {
|
||||
.woocommerce-homescreen .woocommerce-activity-panel {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue