mirror of
https://github.com/TryGhost/Ghost.git
synced 2023-12-13 21:00:40 +01:00
Tweaks styles for add form now new editor is in there
This commit is contained in:
parent
52d96c1bf0
commit
1a894e3120
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ const AddForm = (props) => {
|
|||
<div className="pr-3 font-sans leading-normal dark:text-neutral-300">
|
||||
<div className="relative w-full">
|
||||
<EditorContent
|
||||
className={`transition-[height] pl-[56px] px-0 py-[14px] ${focused ? 'pt-8' : '-mt-[2px] mb-1'} duration-150 bg-transparent w-full placeholder:text-neutral-300 dark:placeholder:text-[rgba(255,255,255,0.3)] border-none resize-none rounded-md border border-slate-50 font-sans text-[16.5px] leading-normal focus:outline-0 dark:border-none dark:text-neutral-300 ${focused ? 'cursor-text h-40' : 'cursor-pointer overflow-hidden h-11 hover:border-slate-300'}`}
|
||||
className={`transition-[min-height] pl-[56px] px-0 py-[14px] ${focused ? 'pt-[48px] pb-[68px]' : 'mb-1'} duration-150 bg-transparent w-full placeholder:text-neutral-300 dark:placeholder:text-[rgba(255,255,255,0.3)] border-none resize-none rounded-md border border-slate-50 font-sans text-[16.5px] leading-normal focus:outline-0 dark:border-none dark:text-neutral-300 ${focused ? 'cursor-text min-h-[144px]' : 'cursor-pointer overflow-hidden min-h-[56px] hover:border-slate-300'}`}
|
||||
editor={editor}
|
||||
/>
|
||||
<button
|
||||
|
@ -60,7 +60,7 @@ const AddForm = (props) => {
|
|||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex mb-1 justify-start items-center absolute top-[2px] left-0">
|
||||
<div className="flex mb-1 justify-start items-center absolute top-[4px] left-0">
|
||||
<Avatar saturation={props.avatarSaturation} />
|
||||
<Transition
|
||||
show={focused}
|
||||
|
|
Loading…
Reference in a new issue