We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31588ac commit 96c12f8Copy full SHA for 96c12f8
1 file changed
src/frontend/apps/impress/src/features/docs/doc-header/components/DocHeaderInfo.tsx
@@ -40,19 +40,21 @@ export const DocHeaderInfo = ({ doc }: DocHeaderInfoProps) => {
40
}
41
42
return (
43
- <Box $direction="row">
+ <Box $direction="row" $align="center">
44
<Text
45
+ as="p"
46
$variation="tertiary"
47
$size="s"
48
$weight="bold"
49
$theme={isEditable ? 'neutral' : 'warning'}
50
$direction="row"
51
+ $margin="0"
52
>
53
<VisibilityDoc doc={doc} />
54
{transRole(isEditable ? doc.user_role || doc.link_role : Role.READER)}
55
·
56
</Text>
- <Text $variation="tertiary" $size="s">
57
+ <Text as="p" $variation="tertiary" $size="s" $margin="0">
58
{dateToDisplay}
59
60
</Box>
0 commit comments