style: EditorViewer title align center (#1390)

This commit is contained in:
Avan 2024-07-12 23:29:55 +08:00 committed by GitHub
parent 9b2dc10da2
commit f834f069cd

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>