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

View File

@ -140,7 +140,7 @@ export const GeneralPage = ({ workspace }: { workspace: Workspace }) => {
<StyledSettingH2 marginTop={20}>Workspace Type</StyledSettingH2>
<StyledSettingInputContainer>
{workspace.type}
<code>{workspace.type} </code>
</StyledSettingInputContainer>
<StyledDeleteButtonContainer>
{isOwner ? (

View File

@ -466,8 +466,8 @@ const SyncPage = ({ workspace }: { workspace: Workspace }) => {
</>
) : (
<StyledPublishExplanation>
{workspace.name} is Cloud Workspace. All data will be synchronized
and saved to the AFFiNE account
<code>{workspace.name}</code> is Cloud Workspace. All data will be
synchronized and saved to the AFFiNE account
<div>
<Menu
content={