fix: page block padding fix (#1034)
This commit is contained in:
parent
1329145173
commit
9cb3794dde
4 changed files with 9 additions and 3 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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 && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue