ui: add some margin to chrome sidebar

Looks a bit better
This commit is contained in:
William Casarin
2025-04-15 08:24:04 -07:00
parent 4f0d96679d
commit 66377351b3
4 changed files with 8 additions and 1 deletions

View File

@@ -268,6 +268,9 @@ impl Chrome {
// minimize/close buttons
if cfg!(target_os = "macos") {
ui.add_space(28.0);
} else {
// we still want *some* padding so that it aligns with the + button regardless
ui.add_space(notedeck_ui::constants::FRAME_MARGIN.into());
}
if ui.add(expand_side_panel_button()).clicked() {