Better code clarity with woocommerce-marketing-campaigns-table class name.
This commit is contained in:
parent
894b77dc96
commit
321145eb2e
|
@ -25,6 +25,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.woocommerce-marketing-campaigns-table {
|
||||
.woocommerce-marketing-campaign-logo {
|
||||
img {
|
||||
display: block;
|
||||
|
@ -42,6 +43,7 @@
|
|||
.woocommerce-marketing-campaign-description {
|
||||
color: $gray-700;
|
||||
}
|
||||
}
|
||||
|
||||
.woocommerce-marketing-campaigns-card-footer {
|
||||
justify-content: center;
|
||||
|
|
|
@ -69,6 +69,8 @@ export const Campaigns = () => {
|
|||
<Card className="woocommerce-marketing-campaigns-card">
|
||||
<CampaignsCardHeader />
|
||||
<Table
|
||||
// this is `classNames`, instead of the correct `className`, due to misnaming in the Table component.
|
||||
classNames="woocommerce-marketing-campaigns-table"
|
||||
caption={ __( 'Campaigns', 'woocommerce' ) }
|
||||
headers={ [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue