1
0
Fork 0

fix: reorder action buttons on small screens

lea-dev
Lea 2023-09-21 20:52:09 +02:00 committed by insert
parent a3e5db0886
commit 386f124fe9
3 changed files with 3 additions and 3 deletions

View File

@ -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">

View File

@ -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"

View File

@ -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