Skip to content

Commit

Permalink
fixed header
Browse files Browse the repository at this point in the history
  • Loading branch information
LiveDuo committed Nov 5, 2023
1 parent 403c115 commit 40ad0b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client/vanilla/editor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ function Editor({ standaloneServer = false }) {
</div>

<button
className="bg-green-500 hover:bg-green-700 text-white px-4 py-2 ml-auto mr-6 rounded-md"
className="bg-green-500 hover:bg-green-700 text-white px-4 py-2 ml-6 mr-6 rounded-md"
onClick={() => setIsPreview((s) => !s)}
>
{!isPreview ? 'Preview' : 'Editor'}
Expand Down

0 comments on commit 40ad0b0

Please sign in to comment.