ui: add some margin to chrome sidebar
Looks a bit better
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user