mirror of
https://github.com/orhun/systeroid
synced 2024-10-06 23:59:10 +00:00
style(tui): updating spacing for section text
This commit is contained in:
parent
21b3aed659
commit
53c82999c0
|
@ -182,11 +182,11 @@ fn render_section_text<B: Backend>(frame: &mut Frame<'_, B>, rect: Rect, section
|
|||
[
|
||||
Constraint::Min(
|
||||
rect.width
|
||||
.checked_sub(text_width + 2)
|
||||
.checked_sub(text_width + 3)
|
||||
.unwrap_or(rect.height),
|
||||
),
|
||||
Constraint::Min(text_width),
|
||||
Constraint::Min(1),
|
||||
Constraint::Length(text_width),
|
||||
Constraint::Length(2),
|
||||
]
|
||||
.as_ref(),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue