User Restrictions: Fix dropdown position (#5061)

This commit is contained in:
zubiden 2024-10-20 18:53:47 +02:00 committed by Alexander Zinchuk
parent 0f2fb74621
commit 09ddb6483f
5 changed files with 5 additions and 3 deletions

View File

@ -45,6 +45,7 @@
.dropdownList {
padding-left: 3.1875rem;
margin-block: -0.375rem;
}
.dialogButtons {

View File

@ -45,6 +45,7 @@
.dropdownList {
padding-left: 3.1875rem;
margin-block: -0.375rem;
}
.dialogButtons {

View File

@ -35,7 +35,7 @@ type StateProps = {
members?: ApiChatMember[];
};
const ITEM_HEIGHT = 24 + 32;
const ITEM_HEIGHT = 24 + 12;
const BEFORE_ITEMS_COUNT = 2;
const ITEMS_COUNT = 9;

View File

@ -308,7 +308,7 @@
background: var(--color-background);
&--open {
transform: translateY(-2rem);
transform: translateY(-0.75rem);
}
}

View File

@ -58,7 +58,7 @@
opacity: 1;
// Compensate for svg having incorrect size
background-size: 1.375rem;
background-size: 1.5rem;
background-position: -0.125rem -0.125rem;
}
}