feat: make header 48px

This commit is contained in:
Ericky Dos Santos 2026-02-23 11:12:14 -05:00
parent ade8c76425
commit 487b7b299d

View file

@ -441,9 +441,9 @@ impl<'a, Message: Clone + 'static> HeaderBar<'a, Message> {
(portion, portion) (portion, portion)
}; };
// SSD uses fixed height 54px with 12px padding; non-SSD uses computed height // SSD uses fixed height 48px with 12px horizontal padding; non-SSD uses computed height
let (header_height, header_padding) = if self.is_ssd { let (header_height, header_padding) = if self.is_ssd {
(Length::Fixed(54.0), [11, 12, 11, 12]) (Length::Fixed(48.0), [8, 12, 8, 12])
} else { } else {
( (
Length::Fixed(44.0 + padding[0] as f32 + padding[2] as f32), Length::Fixed(44.0 + padding[0] as f32 + padding[2] as f32),