File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
projects/packages/forms/src/blocks/contact-form Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 6161 margin-bottom : 0 ;
6262 max-width : 100% ;
6363
64+ & .wp-block-button ,
6465 & .wp-block-jetpack-button {
6566 flex : 0 0 auto ;
6667 min-height : var (--jetpack--contact-form--input-height , auto );
8788 box-sizing : border-box ;
8889 }
8990
91+ & .wp-block-button__width-25 ,
9092 & .jetpack-field__width-25 {
9193 flex : 1 1 calc (25% - calc (var (--wp--style--block-gap , 1.5rem ) * 1 ));
9294 max-width : 25% ;
9799 max-width : 33.33% ;
98100 }
99101
102+ & .wp-block-button__width-50 ,
100103 & .jetpack-field__width-50 {
101104 flex : 1 1 calc (50% - calc (var (--wp--style--block-gap , 1.5rem ) * 1 ));
102105 max-width : 50% ;
103106 }
104107
108+ & .wp-block-button__width-75 ,
105109 & .jetpack-field__width-75 {
106110 flex : 1 1 calc (75% - calc (var (--wp--style--block-gap , 1.5rem ) * 1 ));
107111 max-width : 75% ;
108112 }
109113
114+ & .wp-block-button__width-100 {
115+ flex : 1 1 100% ;
116+ max-width : 100% ;
117+ }
118+
119+ & .wp-block-button.has-custom-width {
120+
121+ .wp-block-button__link {
122+ width : 100% ;
123+ }
124+ }
125+
110126 & .jetpack-field__width-auto {
111127 flex : 1 1 0 ;
112128 }
You can’t perform that action at this time.
0 commit comments