Add small UI tweak to the inline color preview square (#33655)
Follow-up to https://github.com/zed-industries/zed/pull/33605 so it is just a bit more subtle and smaller. Release Notes: - N/A
This commit is contained in:
parent
59e88ce82b
commit
402c61c00d
1 changed files with 3 additions and 5 deletions
|
@ -344,16 +344,14 @@ impl<'a> Iterator for InlayChunks<'a> {
|
||||||
id: ChunkRendererId::Inlay(inlay.id),
|
id: ChunkRendererId::Inlay(inlay.id),
|
||||||
render: Arc::new(move |cx| {
|
render: Arc::new(move |cx| {
|
||||||
div()
|
div()
|
||||||
.w_4()
|
|
||||||
.h_4()
|
|
||||||
.relative()
|
.relative()
|
||||||
|
.size_3p5()
|
||||||
.child(
|
.child(
|
||||||
div()
|
div()
|
||||||
.absolute()
|
.absolute()
|
||||||
.right_1()
|
.right_1()
|
||||||
.w_3p5()
|
.size_3()
|
||||||
.h_3p5()
|
.border_1()
|
||||||
.border_2()
|
|
||||||
.border_color(cx.theme().colors().border)
|
.border_color(cx.theme().colors().border)
|
||||||
.bg(color),
|
.bg(color),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue