mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-09 15:32:25 +00:00
ISSUE-206: fixed description icon position (#278)
This commit is contained in:
parent
cf0dcf8142
commit
9bd624f4af
@ -267,10 +267,11 @@ const SchemaTable: FunctionComponent<Props> = ({
|
|||||||
<td className="tw-group tableBody-cell tw-relative">
|
<td className="tw-group tableBody-cell tw-relative">
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
className="tw-cursor-pointer hover:tw-underline"
|
className="tw-cursor-pointer hover:tw-underline tw-flex"
|
||||||
data-testid="description"
|
data-testid="description"
|
||||||
id={`column-description-${index}`}
|
id={`column-description-${index}`}
|
||||||
onClick={() => handleEditColumn(column, index)}>
|
onClick={() => handleEditColumn(column, index)}>
|
||||||
|
<div>
|
||||||
{column.description ? (
|
{column.description ? (
|
||||||
<RichTextEditorPreviewer
|
<RichTextEditorPreviewer
|
||||||
markdown={column.description}
|
markdown={column.description}
|
||||||
@ -280,7 +281,8 @@ const SchemaTable: FunctionComponent<Props> = ({
|
|||||||
No description added
|
No description added
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
<button className="tw-opacity-0 tw-ml-1 group-hover:tw-opacity-100 focus:tw-outline-none">
|
</div>
|
||||||
|
<button className="tw-self-start tw-w-8 tw-h-auto tw-opacity-0 tw-ml-1 group-hover:tw-opacity-100 focus:tw-outline-none">
|
||||||
<SVGIcons
|
<SVGIcons
|
||||||
alt="edit"
|
alt="edit"
|
||||||
icon="icon-edit"
|
icon="icon-edit"
|
||||||
|
|||||||
@ -300,7 +300,8 @@ const TagsPage = () => {
|
|||||||
setIsEditTag(true);
|
setIsEditTag(true);
|
||||||
setEditTag(tag);
|
setEditTag(tag);
|
||||||
}}>
|
}}>
|
||||||
<div className="tw-cursor-pointer hover:tw-underline">
|
<div className="tw-cursor-pointer hover:tw-underline tw-flex">
|
||||||
|
<div>
|
||||||
{tag.description ? (
|
{tag.description ? (
|
||||||
<RichTextEditorPreviewer
|
<RichTextEditorPreviewer
|
||||||
markdown={tag.description}
|
markdown={tag.description}
|
||||||
@ -310,7 +311,8 @@ const TagsPage = () => {
|
|||||||
No description added
|
No description added
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
<button className="tw-opacity-0 tw-ml-1 group-hover:tw-opacity-100 focus:tw-outline-none">
|
</div>
|
||||||
|
<button className="tw-self-start tw-w-8 tw-h-auto tw-opacity-0 tw-ml-1 group-hover:tw-opacity-100 focus:tw-outline-none">
|
||||||
<SVGIcons
|
<SVGIcons
|
||||||
alt="edit"
|
alt="edit"
|
||||||
icon="icon-edit"
|
icon="icon-edit"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user