notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 53c97b7ea841fbf827ca0c5c2d03399e75c28114
parent f03cd3feb0783e6edf9d983234da4bedaedea439
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 23 Feb 2026 15:48:44 -0800

nostrverse: add padding to editor panel

Wrap the editing panel content in an egui::Frame with 8px inner margin
so content doesn't hug the edges of the panel area.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Diffstat:
Mcrates/notedeck_nostrverse/src/lib.rs | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/crates/notedeck_nostrverse/src/lib.rs b/crates/notedeck_nostrverse/src/lib.rs @@ -632,9 +632,11 @@ impl notedeck::App for NostrverseApp { egui::vec2(panel_width, available.y), egui::Layout::top_down(egui::Align::LEFT), |ui| { - if let Some(action) = render_editing_panel(ui, &mut self.state) { - self.handle_action(action, ctx); - } + egui::Frame::default().inner_margin(8.0).show(ui, |ui| { + if let Some(action) = render_editing_panel(ui, &mut self.state) { + self.handle_action(action, ctx); + } + }); }, ); }