Fix tooltip padding. (#198)

This commit is contained in:
Jason Lee 2024-09-01 21:58:50 +08:00 committed by GitHub
parent 6564c502c9
commit 926de77967
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,8 +28,7 @@ impl Render for Tooltip {
.border_color(cx.theme().border)
.shadow_md()
.rounded(px(6.))
.pt_1()
.pb_0p5()
.py_0p5()
.px_2()
.text_sm()
.child(self.text.clone()),