Skip to content

md-icon as input prefix / prefix on wide inputs  #2586

Closed
@fxck

Description

@fxck

currently this happens when you try to use md-icon in a prefix
image

there two issues

  1. icon is too big, which messes with input's alignment
    image

  2. icon is too wide, which messes with display: table-cell and pushes the input unreasonably far right

should this even supported? I could work on it I guess

also why is table cell used instead of flex? it's hacky and puts way too much space around prefix even if I used $(if my md-input is wide)
image

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions