Simplify CardHeaderTitle CSS.

- Use `@include font-size ( 20 )` to generate relative size in rem.
- Use unitless number value for line-height; this is the preferred way according to MDN.
- `font-weight` and `letter-spacing` are not needed.

The UI looks the same before and after this change.
This commit is contained in:
Gan Eng Chin 2023-01-27 01:26:37 +08:00
parent 76d5762400
commit c2aad26473
No known key found for this signature in database
GPG Key ID: 94D5D972860ADB01
1 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,4 @@
.woocommerce-marketing-card-header-title {
font-size: 20px;
font-weight: 400;
line-height: 28px;
letter-spacing: 0;
@include font-size( 20 );
line-height: 1.4;
}