mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-11-03 20:19:31 +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">
 | 
			
		||||
                  <div>
 | 
			
		||||
                    <div
 | 
			
		||||
                      className="tw-cursor-pointer hover:tw-underline"
 | 
			
		||||
                      className="tw-cursor-pointer hover:tw-underline tw-flex"
 | 
			
		||||
                      data-testid="description"
 | 
			
		||||
                      id={`column-description-${index}`}
 | 
			
		||||
                      onClick={() => handleEditColumn(column, index)}>
 | 
			
		||||
                      <div>
 | 
			
		||||
                        {column.description ? (
 | 
			
		||||
                          <RichTextEditorPreviewer
 | 
			
		||||
                            markdown={column.description}
 | 
			
		||||
@ -280,7 +281,8 @@ const SchemaTable: FunctionComponent<Props> = ({
 | 
			
		||||
                            No description added
 | 
			
		||||
                          </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
 | 
			
		||||
                          alt="edit"
 | 
			
		||||
                          icon="icon-edit"
 | 
			
		||||
 | 
			
		||||
@ -300,7 +300,8 @@ const TagsPage = () => {
 | 
			
		||||
                                setIsEditTag(true);
 | 
			
		||||
                                setEditTag(tag);
 | 
			
		||||
                              }}>
 | 
			
		||||
                              <div className="tw-cursor-pointer hover:tw-underline">
 | 
			
		||||
                              <div className="tw-cursor-pointer hover:tw-underline tw-flex">
 | 
			
		||||
                                <div>
 | 
			
		||||
                                  {tag.description ? (
 | 
			
		||||
                                    <RichTextEditorPreviewer
 | 
			
		||||
                                      markdown={tag.description}
 | 
			
		||||
@ -310,7 +311,8 @@ const TagsPage = () => {
 | 
			
		||||
                                      No description added
 | 
			
		||||
                                    </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
 | 
			
		||||
                                    alt="edit"
 | 
			
		||||
                                    icon="icon-edit"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user