Skip to content

Inline input fields are misaligned when there is no text before the field (1.0.0-rc1) #5919

@ts252

Description

@ts252

image

https://codepen.io/anon/pen/YLjqdj

Current Behavior

There is a 5px misalignment due to

.input-field.inline { margin-left: 5px; }

Suggested solution

I can't think of a fix that is css-only and backward-compatible.

Personally I override that margin to 0 and remember to leave whitespace in the markup between the inline text and the <input>.

That makes it consistent with the right-hand margin, which makes sense to me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions