Skip to content

Input layout #1631

Answered by Fil
ryanmckaytx asked this question in Q&A
Sep 2, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

With a bit of CSS:

<style>
  .inline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 640px;
  }
  .inline form {
    max-width: 200px;
    display: flow;
  }
</style>

It can also be nice to return this as a combined input, with Inputs.form

See https://observablehq.observablehq.cloud/pangea/support/input-layout for the implementation.

Replies: 1 comment 3 replies

Comment options

Fil
Sep 3, 2024
Collaborator

You must be logged in to vote
3 replies
@ryanmckaytx
Comment options

@ryanmckaytx
Comment options

@Fil
Comment options

Fil Sep 3, 2024
Collaborator

Answer selected by ryanmckaytx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants