mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-14 23:44:01 +02:00
Change dropdown position
This commit is contained in:
@@ -246,7 +246,7 @@ export const ServerListItem = ({ server }: ServerListItemProps) => {
|
|||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
{serverPermission >= ServerPermission.ADMIN && (
|
{serverPermission >= ServerPermission.ADMIN && (
|
||||||
<DropdownMenu position="right-start">
|
<DropdownMenu position="bottom-start">
|
||||||
<DropdownMenu.Target>
|
<DropdownMenu.Target>
|
||||||
<Button compact variant="subtle">
|
<Button compact variant="subtle">
|
||||||
<RiMore2Fill size={15} />
|
<RiMore2Fill size={15} />
|
||||||
@@ -293,7 +293,7 @@ export const ServerListItem = ({ server }: ServerListItemProps) => {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<DropdownMenu position="right-start">
|
<DropdownMenu position="bottom-start">
|
||||||
<DropdownMenu.Target>
|
<DropdownMenu.Target>
|
||||||
<Button compact variant="subtle">
|
<Button compact variant="subtle">
|
||||||
<RiMore2Fill size={15} />
|
<RiMore2Fill size={15} />
|
||||||
@@ -319,7 +319,7 @@ export const ServerListItem = ({ server }: ServerListItemProps) => {
|
|||||||
<Button
|
<Button
|
||||||
compact
|
compact
|
||||||
mt={10}
|
mt={10}
|
||||||
variant="default"
|
variant="subtle"
|
||||||
onClick={() => addCredentialHandlers.open()}
|
onClick={() => addCredentialHandlers.open()}
|
||||||
>
|
>
|
||||||
Add credential
|
Add credential
|
||||||
@@ -351,7 +351,7 @@ export const ServerListItem = ({ server }: ServerListItemProps) => {
|
|||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
{serverPermission >= ServerPermission.EDITOR && (
|
{serverPermission >= ServerPermission.EDITOR && (
|
||||||
<DropdownMenu position="right-start">
|
<DropdownMenu position="bottom-start">
|
||||||
<DropdownMenu.Target>
|
<DropdownMenu.Target>
|
||||||
<Button compact variant="subtle">
|
<Button compact variant="subtle">
|
||||||
<RiMore2Fill size={15} />
|
<RiMore2Fill size={15} />
|
||||||
@@ -377,10 +377,10 @@ export const ServerListItem = ({ server }: ServerListItemProps) => {
|
|||||||
<Button
|
<Button
|
||||||
compact
|
compact
|
||||||
mt={10}
|
mt={10}
|
||||||
variant="default"
|
variant="subtle"
|
||||||
onClick={() => addUrlHandlers.open()}
|
onClick={() => addUrlHandlers.open()}
|
||||||
>
|
>
|
||||||
Add url
|
Add URL
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ export const UserList = () => {
|
|||||||
>
|
>
|
||||||
Edit
|
Edit
|
||||||
</Button>
|
</Button>
|
||||||
<DropdownMenu position="right-start">
|
<DropdownMenu position="bottom-start">
|
||||||
<DropdownMenu.Target>
|
<DropdownMenu.Target>
|
||||||
<Button
|
<Button
|
||||||
compact
|
compact
|
||||||
|
|||||||
Reference in New Issue
Block a user