fix ordering of buttons

This commit is contained in:
miloschwartz
2026-07-01 11:09:26 -04:00
parent 3c37e10638
commit 22dd4220fe

View File

@@ -371,8 +371,8 @@ export default function ResourceLauncher({
/>
<div className="flex flex-col gap-3 mb-6">
<div className="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between">
<div className="flex flex-col sm:flex-row sm:items-center gap-3 min-w-0 flex-1 order-2 sm:order-none">
<div className="flex flex-row items-center gap-3 justify-between max-md:flex-col max-md:items-stretch">
<div className="flex flex-col sm:flex-row sm:items-center gap-3 min-w-0 flex-1 max-md:order-2">
<div className="relative w-full sm:max-w-sm shrink-0">
<Search className="absolute left-2.5 top-1/2 -translate-y-1/2 size-4 text-muted-foreground" />
<Input
@@ -400,7 +400,7 @@ export default function ResourceLauncher({
onSelectView={selectView}
/>
</div>
<div className="flex items-center gap-2 shrink-0 justify-start sm:justify-end order-1 sm:order-none">
<div className="flex items-center gap-2 shrink-0 justify-end max-md:order-1 max-md:justify-start">
<LauncherSaveViewMenu
isDefaultView={isDefaultView}
isAdmin={isAdmin}