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:
parent
76d5762400
commit
c2aad26473
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue