Improve other admins list style in Invite Links.

This commit is contained in:
John Preston 2021-02-09 12:21:28 +04:00
parent 047bf467b5
commit d81c8f002d
2 changed files with 4 additions and 1 deletions

View File

@ -855,7 +855,7 @@ not_null<Ui::RpWidget*> AddAdminsList(
const auto controller = lifetime.make_state<AdminsController>( const auto controller = lifetime.make_state<AdminsController>(
peer, peer,
admin); admin);
controller->setStyleOverrides(&st::inviteLinkList); controller->setStyleOverrides(&st::inviteLinkAdminsList);
const auto content = container->add(object_ptr<PeerListContent>( const auto content = container->add(object_ptr<PeerListContent>(
container, container,
controller)); controller));

View File

@ -914,6 +914,9 @@ inviteLinkList: PeerList(defaultPeerList) {
item: inviteLinkListItem; item: inviteLinkListItem;
padding: margins(0px, 4px, 0px, 4px); padding: margins(0px, 4px, 0px, 4px);
} }
inviteLinkAdminsList: PeerList(peerListBox) {
padding: margins(0px, 4px, 0px, membersMarginBottom);
}
inviteLinkIconSkip: 7px; inviteLinkIconSkip: 7px;
inviteLinkIconStroke: 2px; inviteLinkIconStroke: 2px;
inviteLinkIcon: icon {{ "info/edit/links_link", mediaviewFileExtFg }}; inviteLinkIcon: icon {{ "info/edit/links_link", mediaviewFileExtFg }};