fix(header_bar): add vertical SSD padding

Prevents SSDs from having a gap after the rebase.
This commit is contained in:
Vukašin Vojinović 2026-03-17 17:13:46 +01:00 committed by Michael Murphy
parent adb6e30405
commit 0bb006c5bb

View file

@ -394,7 +394,7 @@ impl<'a, Message: Clone + 'static> HeaderBar<'a, Message> {
end.push(self.window_controls(space_xxs)); end.push(self.window_controls(space_xxs));
let padding = if self.is_ssd { let padding = if self.is_ssd {
[0, 8, 0, 8] [2, 8, 2, 8]
} else { } else {
match ( match (
self.density.unwrap_or_else(crate::config::header_size), self.density.unwrap_or_else(crate::config::header_size),