fix: minor pages ui (#700)

This commit is contained in:
Aaryan Khandelwal 2023-04-04 18:31:28 +05:30 committed by GitHub
parent 7f7ceec24c
commit 0036ac6afb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 28 deletions

View file

@ -477,7 +477,7 @@ const SinglePage: NextPage<UserAuth> = (props) => {
{!createBlockForm && (
<button
type="button"
className="flex items-center gap-1 rounded bg-gray-100 px-2.5 py-1 text-xs hover:bg-gray-200 mt-4"
className="flex items-center gap-1 rounded bg-gray-100 px-2.5 py-1 ml-6 text-xs hover:bg-gray-200 mt-4"
onClick={handleNewBlock}
>
<PlusIcon className="h-3 w-3" />
@ -485,7 +485,7 @@ const SinglePage: NextPage<UserAuth> = (props) => {
</button>
)}
{createBlockForm && (
<div ref={scrollToRef}>
<div className="mt-4" ref={scrollToRef}>
<CreateUpdateBlockInline
handleClose={() => setCreateBlockForm(false)}
focus="name"