Explorar o código

style: EditorViewer title align center (#1390)

Avan hai 11 meses
pai
achega
b4025c45da
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/setting/mods/config-viewer.tsx

+ 1 - 1
src/components/setting/mods/config-viewer.tsx

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