style: EditorViewer title align center (#1390)

This commit is contained in:
Avan 2024-07-12 23:29:55 +08:00 committed by GitHub
parent bd589c4422
commit b4025c45da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@ export const ConfigViewer = forwardRef<DialogRef>((_, ref) => {
<EditorViewer <EditorViewer
open={true} open={true}
title={ title={
<Box> <Box display="flex" alignItems="center" gap={2}>
{t("Runtime Config")} {t("Runtime Config")}
<Chip label={t("ReadOnly")} size="small" /> <Chip label={t("ReadOnly")} size="small" />
</Box> </Box>