From d81c8f002d7d4b4a4cab7bbff21af537ece19f9a Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 9 Feb 2021 12:21:28 +0400 Subject: [PATCH] Improve other admins list style in Invite Links. --- Telegram/SourceFiles/boxes/peers/edit_peer_invite_links.cpp | 2 +- Telegram/SourceFiles/info/info.style | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_invite_links.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_invite_links.cpp index 6c5f043628..64e71c489d 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_peer_invite_links.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_peer_invite_links.cpp @@ -855,7 +855,7 @@ not_null AddAdminsList( const auto controller = lifetime.make_state( peer, admin); - controller->setStyleOverrides(&st::inviteLinkList); + controller->setStyleOverrides(&st::inviteLinkAdminsList); const auto content = container->add(object_ptr( container, controller)); diff --git a/Telegram/SourceFiles/info/info.style b/Telegram/SourceFiles/info/info.style index 91a6d8ee71..6e5e7dd24a 100644 --- a/Telegram/SourceFiles/info/info.style +++ b/Telegram/SourceFiles/info/info.style @@ -914,6 +914,9 @@ inviteLinkList: PeerList(defaultPeerList) { item: inviteLinkListItem; padding: margins(0px, 4px, 0px, 4px); } +inviteLinkAdminsList: PeerList(peerListBox) { + padding: margins(0px, 4px, 0px, membersMarginBottom); +} inviteLinkIconSkip: 7px; inviteLinkIconStroke: 2px; inviteLinkIcon: icon {{ "info/edit/links_link", mediaviewFileExtFg }};