You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "leezng (via GitHub)" <gi...@apache.org> on 2023/08/21 08:39:32 UTC

[GitHub] [inlong] leezng commented on a diff in pull request #8775: [INLONG-8757][Dashboard] Implement buttons using a link

leezng commented on code in PR #8775:
URL: https://github.com/apache/inlong/pull/8775#discussion_r1299801811


##########
inlong-dashboard/src/ui/components/FieldList/index.tsx:
##########
@@ -88,7 +88,11 @@ const Comp: React.FC<Props> = ({ inlongGroupId, inlongStreamId, isSource, column
           columns={columns}
           dataSource={isSource === true ? data?.fieldList : sinkData?.list[0]?.sinkFieldList}
           footer={() => (
-            <Button style={{ margin: 'auto' }} onClick={() => setCreateModal({ open: true })}>
+            <Button
+              type="link"
+              style={{ margin: 'auto', marginLeft: -15 }}

Review Comment:
   => style: {{ margin: 0 }}



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org