Explorar el Código

fix: align log cleanup button with other controls in the row

RedwindA hace 1 mes
padre
commit
49db5147c3
Se han modificado 1 ficheros con 13 adiciones y 10 borrados
  1. 13 10
      web/src/pages/Setting/Performance/SettingsPerformance.jsx

+ 13 - 10
web/src/pages/Setting/Performance/SettingsPerformance.jsx

@@ -463,16 +463,18 @@ export default function SettingsPerformance(props) {
                   />
                   />
                 </div>
                 </div>
               </Col>
               </Col>
-              <Col
-                xs={24}
-                sm={12}
-                md={8}
-                style={{
-                  display: 'flex',
-                  alignItems: 'flex-end',
-                  paddingBottom: 12,
-                }}
-              >
+              <Col xs={24} sm={12} md={8}>
+                <div style={{ marginBottom: 12 }}>
+                  <Text
+                    strong
+                    style={{
+                      display: 'block',
+                      marginBottom: 8,
+                      visibility: 'hidden',
+                    }}
+                  >
+                    &nbsp;
+                  </Text>
                 <Popconfirm
                 <Popconfirm
                   title={t('确认清理日志文件?')}
                   title={t('确认清理日志文件?')}
                   content={
                   content={
@@ -491,6 +493,7 @@ export default function SettingsPerformance(props) {
                     {t('清理日志文件')}
                     {t('清理日志文件')}
                   </Button>
                   </Button>
                 </Popconfirm>
                 </Popconfirm>
+                </div>
               </Col>
               </Col>
             </Row>
             </Row>
           </>
           </>