Skip to content

Commit

Permalink
feat: space css
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuhengtan committed May 12, 2023
1 parent 45f8733 commit 4e4de36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@
* {
margin: 0;
padding: 0;
}

.ant-space {
width: 100%;
}
4 changes: 2 additions & 2 deletions src/pages/auth/role/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const Roles: React.FC = () => {
}, [getRoles])

return (
<div>
<Space direction="vertical">
<AuthFragment authKey="create">
<Button
type="primary"
Expand Down Expand Up @@ -154,7 +154,7 @@ const Roles: React.FC = () => {
})
}}
/>
</div>
</Space>
)
}

Expand Down

0 comments on commit 4e4de36

Please sign in to comment.