From eba4d8020b5910164438e83599e06859add27022 Mon Sep 17 00:00:00 2001 From: fantasticit Date: Wed, 4 May 2022 19:51:49 +0800 Subject: [PATCH] fix: fix style, add loading --- .../src/components/document/version/index.module.scss | 9 +++++++++ .../client/src/components/document/version/index.tsx | 1 + 2 files changed, 10 insertions(+) diff --git a/packages/client/src/components/document/version/index.module.scss b/packages/client/src/components/document/version/index.module.scss index 82df9f6..8ab2f76 100644 --- a/packages/client/src/components/document/version/index.module.scss +++ b/packages/client/src/components/document/version/index.module.scss @@ -31,7 +31,16 @@ } .semi-navigation-footer { + display: block; height: 64px; + padding-top: 0; + padding-bottom: 0; + + .semi-navigation-collapse-btn { + display: flex; + align-items: center; + justify-content: flex-start; + } } } } diff --git a/packages/client/src/components/document/version/index.tsx b/packages/client/src/components/document/version/index.tsx index 51d8b68..f8c0766 100644 --- a/packages/client/src/components/document/version/index.tsx +++ b/packages/client/src/components/document/version/index.tsx @@ -87,6 +87,7 @@ export const DocumentVersion: React.FC = ({ documentId, onSelect }) => { type="primary" style={{ marginRight: 8 }} disabled={loading || error} + loading={loading} onClick={() => refresh()} > 刷新