forked from administration/panel
fix: reorder action buttons on small screens
parent
a3e5db0886
commit
386f124fe9
|
@ -45,7 +45,7 @@ export function AccountActions({
|
|||
const [emailDraft, setEmailDraft] = useState("");
|
||||
|
||||
return (
|
||||
<div className="flex gap-2">
|
||||
<div className="flex flex-col md:flex-row gap-2">
|
||||
<AlertDialog>
|
||||
<AlertDialogTrigger asChild>
|
||||
<Button className="flex-1">
|
||||
|
|
|
@ -35,7 +35,7 @@ export function ServerActions({ server }: { server: Server }) {
|
|||
const { toast } = useToast();
|
||||
|
||||
return (
|
||||
<div className="flex gap-2">
|
||||
<div className="flex flex-col md:flex-row gap-2">
|
||||
{serverDraft.discoverable ? (
|
||||
<Button
|
||||
className="flex-1"
|
||||
|
|
|
@ -109,7 +109,7 @@ export function UserActions({ user, bot }: { user: User; bot?: Bot }) {
|
|||
</CardHeader>
|
||||
</Card>
|
||||
|
||||
<div className="flex gap-2">
|
||||
<div className="flex flex-col md:flex-row gap-2">
|
||||
{bot ? (
|
||||
botDraft!.discoverable ? (
|
||||
<Button
|
||||
|
|
Loading…
Reference in New Issue