MetaMask / MetaMask/metamask-extension

[DESIGN] Update Text Field component height

Open
#22,896 0 comments 0 reactions 1 assignee Assigned to @Akatori-Design View on GitHub
team-design-system
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

Currently Text Field component heights are set to

```
- height : fixed (sm32; md40; lg48_
- padding : 0
```

@Akatori-Design & @georgewrmarshall discussed about updating this to below spec:
```
- height : auto
- padding : sm4; md8; lg12
- min-height : sm,32; md40; lg48
```
This is so Text Field can be used with custom accessories as seen on Swap, Sell...etc while maintaining a consistent padding.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.