Fix Input clean button size. (#115)
This commit is contained in:
parent
d172dc3abd
commit
cbffb9a543
2 changed files with 2 additions and 2 deletions
|
|
@ -1071,7 +1071,7 @@ impl Render for TextInput {
|
|||
Button::new("clean-text", cx)
|
||||
.icon(IconName::Close)
|
||||
.style(ButtonStyle::Ghost)
|
||||
.size(px(15.))
|
||||
.with_size(px(15.))
|
||||
.cursor_pointer()
|
||||
.on_click(cx.listener(Self::clean)),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@ impl Colors {
|
|||
tab_bar: hsl(240.0, 4.8, 95.9),
|
||||
list: hsl(0.0, 0.0, 100.),
|
||||
list_even: hsl(240.0, 5.0, 96.0),
|
||||
list_active: hsl(240.0, 7., 88.0),
|
||||
list_active: hsl(240.0, 7., 88.0).opacity(0.75),
|
||||
list_head: hsl(240.0, 0., 94.),
|
||||
link: hsl(221.0, 83.0, 53.0),
|
||||
menu: hsl(0.0, 0.0, 97.0),
|
||||
|
|
|
|||
Loading…
Reference in a new issue