File tree 6 files changed +18
-38
lines changed
6 files changed +18
-38
lines changed Original file line number Diff line number Diff line change 25
25
@import "typography.css" ;
26
26
@import "./components/contact-form.css" ;
27
27
@import "./components/masonry-grid.css" ;
28
- @import "./components/card.css" ;
29
28
@import "./components/core.css" ;
30
29
@import "../../src/block-editor/blocks/common-posts-list/style.css" ;
31
30
@import "../../src/block-editor/blocks/contact-form/inner-blocks/common/style.css" ;
Original file line number Diff line number Diff line change 54
54
.is-style-material-masonry .wp-block-query-loop .is-flex-container > li {
55
55
width : 100% !important ;
56
56
}
57
-
58
- .entry-content h2 .post-card__title {
59
- margin : revert;
60
- }
Original file line number Diff line number Diff line change 29
29
.mdc-button {
30
30
-moz-osx-font-smoothing : grayscale;
31
31
-webkit-font-smoothing : antialiased;
32
- font-family : Roboto, sans-serif;
33
-
34
- /* @alternate */
35
32
font-family : var (--md-sys-typescale-label-large-font , Roboto, sans-serif);
36
- font-size : 0.875rem ;
37
-
38
- /* @alternate */
39
33
font-size : var (--md-sys-typescale-label-large-size , 0.875rem );
40
34
/* stylelint-disable-next-line declaration-property-unit-allowed-list */
41
- line-height : 2.25rem ;
42
-
43
- /* @alternate */
44
- /* stylelint-disable-next-line declaration-property-unit-allowed-list */
45
35
line-height : var (--md-sys-typescale-label-large-line-height , 1.25rem );
46
- font-weight : 500 ;
47
-
48
- /* @alternate */
49
36
font-weight : var (--md-sys-typescale-label-large-weight , 500 );
50
- letter-spacing : 0.0892857143em ;
51
-
52
- /* @alternate */
53
37
letter-spacing : 0.1px ;
54
- text-decoration : none;
55
-
56
- /* @alternate */
57
38
-webkit-text-decoration : var (--mdc-typography-button-text-decoration , none);
58
- padding : 0 8 px 0 8px ;
39
+ padding : 8px ;
59
40
60
41
/* @alternate */
61
42
position : relative;
66
47
min-width : 64px ;
67
48
border : none;
68
49
outline : none;
50
+ white-space : nowrap;
69
51
70
52
/* @alternate */
71
53
-webkit-user-select : none;
@@ -250,7 +232,7 @@ svg.mdc-button__icon {
250
232
.mdc-button--elevated ,
251
233
.mdc-button--filled ,
252
234
.mdc-button--unelevated {
253
- padding : 0 16 px 0 16px ;
235
+ padding : 10 px 16px ;
254
236
}
255
237
256
238
.mdc-button--raised : not (: disabled ),
@@ -319,7 +301,7 @@ svg.mdc-button__icon {
319
301
}
320
302
321
303
.mdc-button--outlined {
322
- padding : 0 15 px 0 15px ;
304
+ padding : 10 px 15px ;
323
305
border-width : 1px ;
324
306
border-style : solid;
325
307
}
Original file line number Diff line number Diff line change 60
60
}
61
61
}
62
62
63
+ .mdc-card__action--button {
64
+ height : 40px ;
65
+ }
66
+
63
67
.mdc-card__media {
64
68
background-position : 50% ;
65
69
background-repeat : no-repeat;
192
196
color : var (--md-sys-color-on-surface , # 000 );
193
197
}
194
198
199
+ .entry-content h2 .post-card__title ,
195
200
.post-card__title {
196
201
margin : 0 ;
197
202
padding : 0 ;
Original file line number Diff line number Diff line change 321
321
.wp-block-material-buttons {
322
322
align-items : center;
323
323
display : flex;
324
+ flex-wrap : wrap;
325
+ gap : 8px ;
324
326
325
327
& .aligncenter {
326
328
justify-content : center;
327
329
}
328
-
329
- & .mdc-button {
330
- margin-right : 8px ;
331
- }
332
330
}
333
331
334
332
/* Icon */
Original file line number Diff line number Diff line change @@ -913,12 +913,12 @@ public function get_frontend_css() {
913
913
esc_html ( $ font_style )
914
914
);
915
915
} elseif ( 'tracking ' === $ type ) {
916
- $ font_size = isset ( $ value ['size ' ] ) ? $ value ['size ' ] : 16 ;
917
- $ line_height = $ value [ $ type ] / $ font_size ;
918
- $ font_vars [] = sprintf (
916
+ $ font_size = isset ( $ value ['size ' ] ) ? $ value ['size ' ] : 16 ;
917
+ $ line_tracking = $ value [ $ type ] / $ font_size ;
918
+ $ font_vars [] = sprintf (
919
919
'%s: %srem !important; ' ,
920
920
esc_html ( $ var ),
921
- esc_html ( $ line_height )
921
+ esc_html ( $ line_tracking )
922
922
);
923
923
} else {
924
924
$ font_vars [] = sprintf (
@@ -1714,9 +1714,9 @@ public function get_typography_extra_controls( $token ) {
1714
1714
'small ' => 2.5 ,
1715
1715
],
1716
1716
'title ' => [
1717
- 'large ' => 2 ,
1718
- 'medium ' => 2 ,
1719
- 'small ' => 1.75 ,
1717
+ 'large ' => 1.33 ,
1718
+ 'medium ' => 1.75 ,
1719
+ 'small ' => 1.57 ,
1720
1720
],
1721
1721
'label ' => [
1722
1722
'large ' => 1.75 ,
You can’t perform that action at this time.
0 commit comments