fix: minor ui fixes (#469)
This commit is contained in:
parent
5f796e732a
commit
4de0abfc22
5 changed files with 18 additions and 11 deletions
|
|
@ -88,7 +88,7 @@ export const IssueDescriptionForm: FC<IssueDetailsProps> = ({
|
|||
const isNotAllowed = userAuth.isGuest || userAuth.isViewer;
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className="relative">
|
||||
<div className="relative">
|
||||
<TextArea
|
||||
id="name"
|
||||
|
|
@ -152,7 +152,13 @@ export const IssueDescriptionForm: FC<IssueDetailsProps> = ({
|
|||
onHTMLChange={(html) => setValue("description_html", html)}
|
||||
editable={!isNotAllowed}
|
||||
/>
|
||||
<div className="text-right text-sm text-gray-500">{isSubmitting && "Saving..."}</div>
|
||||
<div
|
||||
className={`absolute -bottom-8 right-0 text-sm text-gray-500 ${
|
||||
isSubmitting ? "block" : "hidden"
|
||||
}`}
|
||||
>
|
||||
Saving...
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue