Pivot: move save layout button to top-left

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Paul Trowbridge 2026-04-15 07:28:52 -04:00
parent c98efe58d1
commit 23fa14f22c

View File

@ -199,7 +199,7 @@ export default function Pivot({ source }) {
<div className="relative w-full h-full flex"> <div className="relative w-full h-full flex">
<div className="relative flex-1"> <div className="relative flex-1">
{status === 'ready' && ( {status === 'ready' && (
<div className="absolute top-2 right-3 z-20 flex gap-2"> <div className="absolute top-2 left-3 z-20 flex gap-2">
<button onClick={saveLayout} <button onClick={saveLayout}
className="text-xs bg-white border border-gray-200 rounded px-2 py-1 text-gray-500 hover:border-gray-400 shadow-sm"> className="text-xs bg-white border border-gray-200 rounded px-2 py-1 text-gray-500 hover:border-gray-400 shadow-sm">
{saved ? 'Saved!' : 'Save layout'} {saved ? 'Saved!' : 'Save layout'}