fix: page block padding fix (#1034)

This commit is contained in:
Anmol Singh Bhatia 2023-05-11 18:41:13 +05:30 committed by GitHub
parent 1329145173
commit 9cb3794dde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 3 deletions

View file

@ -95,10 +95,11 @@ export const CreateBlock = () => {
name="name"
placeholder="Title"
register={register}
className="min-h-10 block max-h-24 w-full resize-none overflow-hidden border-none bg-transparent px-1 py-1 text-sm font-medium"
className="min-h-[20px] block max-h-24 w-full resize-none overflow-hidden border-none bg-transparent px-1 py-1 text-sm font-medium"
role="textbox"
onKeyDown={handleKeyDown}
maxLength={255}
noPadding
/>
</div>

View file

@ -408,7 +408,8 @@ export const SinglePageBlock: React.FC<Props> = ({ block, projectDetails, index
<TextArea
name="blockName"
value={block.name}
className="min-h-5 block w-full resize-none overflow-hidden border-none bg-transparent px-0 py-0 text-sm text-brand-base"
className="min-h-[20px] block w-full resize-none overflow-hidden border-none bg-transparent text-sm text-brand-base"
noPadding
/>
</div>
{block?.description_stripped.length > 0 && (