Skip to content

input in flex container #43

Description

@geeeger

https://stackoverflow.com/questions/42421361/input-button-elements-not-shrinking-in-a-flex-container
建议大家小心踩坑

input因为有默认宽度,因此在flex下可能超出容器或无法缩小,
建议解决方案是 min-width: 0 resize: none

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions