Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To be able to style fieldsets #668

Open
WebWeWantBot opened this issue Mar 22, 2024 · 1 comment
Open

To be able to style fieldsets #668

WebWeWantBot opened this issue Mar 22, 2024 · 1 comment

Comments

@WebWeWantBot
Copy link


title: To be able to style fieldsets
date: 2024-03-22T20:17:58.583Z
submitter: PRIVATE
number: 65fde7769208cf00966fdbde
tags: [ ]
discussion: https://github.com/WebWeWant/webwewant.fyi/discussions/
status: [ discussing || in-progress || complete ]
related:

  • title:
    url:
    type: [ article || explainer || draft || spec || note || discussion ]

I work on forms a lot and I like using the fieldset/legend elements. I’d like to be able to style the legend as completely separate from the fieldset border. I’d also like to be able to style the fieldset using flex or grid.

Today I wanted two fieldsets side be side, almost exact inputs except the left side had an extra input at the top. I wanted to be able to use flex to bottom align the fields and use auto margins on the legends to make them align at the top. I’ll put up a codepen to illustrate if you like.

My workaround was to use divs with h3s. It works on that page but if it’s ever reused elsewhere the headings might be out of whack.

Thanks for considering.


If posted, this will appear at https://webwewant.fyi/wants/65fde7769208cf00966fdbde/

@ststimac
Copy link
Collaborator

ststimac commented Apr 1, 2024

I think this falls under the scope of Open UI. @gregwhitworth is there somewhere that asks like these get tracked for Open UI or is WWW the correct place still?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants