Forms - button / layout

Hello,

how to get the submit button on the same row as the email input field?

How it is right now:

How i want it to be:

I tried everything now in my might…

Thanks for your help!

Hi,
Welcome to the forum :wave:

It depends on the form, but if it only contains a single field + button, you can set the field width to e.g. 90% and the justify-content to space-between.

If you want to have more control, turn the form into a grid:

 %root% {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
}

%root% .bricks-button {
  flex-grow: 1;
}
1 Like