feat: add code tag

This commit is contained in:
tzhangchi
2023-01-06 09:51:20 +08:00
parent 6891e586bc
commit 7bbf1d28ea
2 changed files with 3 additions and 3 deletions
@@ -140,7 +140,7 @@ export const GeneralPage = ({ workspace }: { workspace: Workspace }) => {
<StyledSettingH2 marginTop={20}>Workspace Type</StyledSettingH2> <StyledSettingH2 marginTop={20}>Workspace Type</StyledSettingH2>
<StyledSettingInputContainer> <StyledSettingInputContainer>
{workspace.type} <code>{workspace.type} </code>
</StyledSettingInputContainer> </StyledSettingInputContainer>
<StyledDeleteButtonContainer> <StyledDeleteButtonContainer>
{isOwner ? ( {isOwner ? (
@@ -466,8 +466,8 @@ const SyncPage = ({ workspace }: { workspace: Workspace }) => {
</> </>
) : ( ) : (
<StyledPublishExplanation> <StyledPublishExplanation>
{workspace.name} is Cloud Workspace. All data will be synchronized <code>{workspace.name}</code> is Cloud Workspace. All data will be
and saved to the AFFiNE account synchronized and saved to the AFFiNE account
<div> <div>
<Menu <Menu
content={ content={