fix: fix margin

This commit is contained in:
fantasticit 2022-03-18 17:17:17 +08:00
parent e7031776a8
commit 6fba1e4394
3 changed files with 9 additions and 5 deletions

View File

@ -28,9 +28,11 @@ const Page: NextPage = () => {
<SingleColumnLayout> <SingleColumnLayout>
<Seo title="发现" /> <Seo title="发现" />
<div className="container"> <div className="container">
<Title heading={3} style={{ marginBottom: 24 }}> <div style={{ marginBottom: 24 }}>
<Title heading={3} style={{ margin: '8px 0' }}>
</Title>
</Title>
</div>
<DataRender <DataRender
loading={loading} loading={loading}
loadingContent={() => ( loadingContent={() => (

View File

@ -36,7 +36,7 @@ const Page: NextPage = () => {
<div className="container"> <div className="container">
<div className={styles.titleWrap}> <div className={styles.titleWrap}>
<Title heading={3} style={{ margin: '8px 0' }}> <Title heading={3} style={{ margin: '8px 0' }}>
访
</Title> </Title>
<Button onClick={handleAdd}></Button> <Button onClick={handleAdd}></Button>
</div> </div>

View File

@ -62,7 +62,9 @@ const Page: NextPage = () => {
<SingleColumnLayout> <SingleColumnLayout>
<Seo title="知识库" /> <Seo title="知识库" />
<div className="container"> <div className="container">
<Title heading={3}></Title> <Title heading={3} style={{ margin: '8px 0' }}>
</Title>
<Tabs type="button" style={{ marginTop: 24 }}> <Tabs type="button" style={{ marginTop: 24 }}>
<TabPane tab="全部" itemKey="all"> <TabPane tab="全部" itemKey="all">
<Workspaces hook={useAllWikis} /> <Workspaces hook={useAllWikis} />