Skip to content

Commit

Permalink
style: update issues width
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronConlon committed Aug 22, 2024
1 parent f3785a8 commit 08bb4d6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/Blog/Editor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ interface EditorPageProps {
labels: TLabel[];
}

export default function EditorPage({ issues: _issue, labels }: EditorPageProps) {
export default function EditorPage({
issues: _issue,
labels,
}: EditorPageProps) {
const [issues, setIssues] = useState(_issue);
const [local, setLocal] = useState(!false);
const [currentIssue, setCurrentIssue] = useState<TIssue | ILocalIssue>();
Expand Down Expand Up @@ -104,13 +107,10 @@ export default function EditorPage({ issues: _issue, labels }: EditorPageProps)
}

return (
<div className="grid grid-cols-[64px_400px_auto] 2xl:grid-cols-[64px_760px_auto] h-screen overflow-hidden fixed inset-0 w-screen z-10 bg-white">
<div className="grid grid-cols-[64px_300px_auto] 2xl:grid-cols-[64px_760px_auto] h-screen overflow-hidden fixed inset-0 w-screen z-10 bg-white">
<div className="bg-gray-50 h-screen flex flex-col items-center gap-4 py-4">
{local ? (
<CiCloudOn
className="w-8 h-8 animate-fade-right"
onClick={() => setLocal(false)}
/>
<CiCloudOn className="w-8 h-8" onClick={() => setLocal(false)} />
) : (
<CiCloudOff
className="w-8 h-8 animate-fade-left"
Expand Down

0 comments on commit 08bb4d6

Please sign in to comment.