Skip to content

Commit 14482ac

Browse files
committed
style: render top model notice as a bounded card inside canvas
1 parent be916c7 commit 14482ac

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

‎src/app_window.rs‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3403,17 +3403,20 @@ impl AppWindow {
34033403
.justify_center()
34043404
.flex_shrink_0()
34053405
.px_8()
3406-
.py_4()
3407-
.bg(rgb(SURFACE))
3408-
.border_b_1()
3409-
.border_color(rgb(LINE))
3406+
.pt_6()
34103407
.child(
34113408
div()
34123409
.w_full()
34133410
.max_w(px(PANE_CONTENT_WIDTH))
3411+
.px_4()
3412+
.py_3p5()
34143413
.flex()
34153414
.items_center()
34163415
.gap_4()
3416+
.rounded(px(PANEL_RADIUS))
3417+
.border_1()
3418+
.border_color(rgb(LINE))
3419+
.bg(rgb(SURFACE))
34173420
.child(
34183421
div()
34193422
.flex_1()

0 commit comments

Comments
 (0)