fix: user list style and layout
This commit is contained in:
parent
5159116544
commit
b340489946
1 changed files with 3 additions and 1 deletions
|
|
@ -790,6 +790,8 @@ fn user_list() -> Section<crate::pages::Message> {
|
||||||
|
|
||||||
let profile_icon = widget::button::icon(profile_icon_handle)
|
let profile_icon = widget::button::icon(profile_icon_handle)
|
||||||
.large()
|
.large()
|
||||||
|
.padding(0)
|
||||||
|
.class(cosmic::theme::Button::Standard)
|
||||||
.on_press(Message::SelectProfileImage(user.id));
|
.on_press(Message::SelectProfileImage(user.id));
|
||||||
|
|
||||||
let account_details_content = settings::item_row(vec![
|
let account_details_content = settings::item_row(vec![
|
||||||
|
|
@ -829,7 +831,7 @@ fn user_list() -> Section<crate::pages::Message> {
|
||||||
.fold(
|
.fold(
|
||||||
widget::list_column()
|
widget::list_column()
|
||||||
.spacing(0)
|
.spacing(0)
|
||||||
.padding(0)
|
.padding([8, 0])
|
||||||
.divider_padding(0)
|
.divider_padding(0)
|
||||||
.list_item_padding(0),
|
.list_item_padding(0),
|
||||||
widget::ListColumn::add,
|
widget::ListColumn::add,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue