mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Removed old for attribute and readded appear animation in modals
This commit is contained in:
parent
fd996da083
commit
8544dbb1ba
2 changed files with 2 additions and 2 deletions
|
@ -241,7 +241,7 @@ const Form = (props) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<form ref={formEl} onClick={focusEditor} onMouseDown={preventIfFocused} onTouchStart={preventIfFocused} for="ghost-editor" className={`
|
<form ref={formEl} onClick={focusEditor} onMouseDown={preventIfFocused} onTouchStart={preventIfFocused} className={`
|
||||||
transition duration-200
|
transition duration-200
|
||||||
pt-3 pb-2 px-3
|
pt-3 pb-2 px-3
|
||||||
-mt-[12px] -mr-3 mb-10 -ml-[12px]
|
-mt-[12px] -mr-3 mb-10 -ml-[12px]
|
||||||
|
|
|
@ -16,7 +16,7 @@ const GenericDialog = (props) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Transition show={props.show}>
|
<Transition show={props.show} appear={true}>
|
||||||
<Frame type="fixed">
|
<Frame type="fixed">
|
||||||
<div>
|
<div>
|
||||||
<Transition.Child
|
<Transition.Child
|
||||||
|
|
Loading…
Add table
Reference in a new issue