Skip to content

Commit

Permalink
release: fixes
Browse files Browse the repository at this point in the history
- Fixed issue where spaces couldn't be typed directly in the Form block's Submit button
- Updated dependencies
  • Loading branch information
vytisbulkevicius authored Nov 12, 2024
2 parents 884d530 + 7ddf7f6 commit bcdf4c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/blocks/blocks/form/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -1052,9 +1052,8 @@ const Edit = ({
submitLabel = submitLabel.replace( /<br\s*\/?>/gi, ' ' );
setAttributes({ submitLabel });
} }
multiline={ false }
multiple={ false }
tagName="button"
tagName="span"
type='submit'
onClick={ e => e.preventDefault() }
/>
Expand Down
1 change: 1 addition & 0 deletions src/blocks/blocks/form/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
border: 0px;
transition: background-color 0.15s linear;
max-width: max-content;
white-space: normal !important;

@media ( min-width:640px ) and ( max-width: 1024px ) {
padding: var(--btn-pad-tablet);
Expand Down

0 comments on commit bcdf4c5

Please sign in to comment.