fix: page list item padding and spacing
This commit is contained in:
parent
6b2ff717c9
commit
83a4296b9f
2 changed files with 3 additions and 2 deletions
|
|
@ -893,7 +893,7 @@ impl SettingsApp {
|
||||||
let theme = cosmic::theme::active();
|
let theme = cosmic::theme::active();
|
||||||
|
|
||||||
let padding = if self.core.is_condensed() {
|
let padding = if self.core.is_condensed() {
|
||||||
0
|
theme.cosmic().space_xxs()
|
||||||
} else {
|
} else {
|
||||||
theme.cosmic().space_l()
|
theme.cosmic().space_l()
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -91,9 +91,10 @@ pub fn page_list_item<'a, Message: 'static + Clone>(
|
||||||
.control(icon::from_name("go-next-symbolic").size(20))
|
.control(icon::from_name("go-next-symbolic").size(20))
|
||||||
.spacing(16)
|
.spacing(16)
|
||||||
.apply(container)
|
.apply(container)
|
||||||
.padding([20, 24])
|
.padding([16, 14])
|
||||||
.style(theme::Container::List)
|
.style(theme::Container::List)
|
||||||
.apply(button)
|
.apply(button)
|
||||||
|
.padding(0)
|
||||||
.style(theme::Button::Transparent)
|
.style(theme::Button::Transparent)
|
||||||
.on_press(message)
|
.on_press(message)
|
||||||
.into()
|
.into()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue