Explorar el Código

style: EditorViewer title align center (#1390)

Avan hace 11 meses
padre
commit
b4025c45da
Se han modificado 1 ficheros con 1 adiciones y 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
     <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>