소스 검색

style(logs): widen the row-count selector in the log modals

At 70px the selector truncated its larger values, so the chosen row
count was hard to read in the panel, Xray and AmneziaWG log modals.
Sanaei 3 주 전
부모
커밋
5fe4f241c1
3개의 변경된 파일과 3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      frontend/src/pages/index/AmneziaWGLogModal.tsx
  2. 1 1
      frontend/src/pages/index/LogModal.tsx
  3. 1 1
      frontend/src/pages/index/XrayLogModal.tsx

+ 1 - 1
frontend/src/pages/index/AmneziaWGLogModal.tsx

@@ -122,7 +122,7 @@ export default function AmneziaWGLogModal({ open, onClose }: AmneziaWGLogModalPr
           <Select
             value={rows}
             size="small"
-            style={{ width: 70 }}
+            style={{ width: 100 }}
             onChange={setRows}
             options={[
               { value: '20', label: '20' },

+ 1 - 1
frontend/src/pages/index/LogModal.tsx

@@ -107,7 +107,7 @@ export default function LogModal({ open, onClose }: LogModalProps) {
             <Select
               value={rows}
               size="small"
-              style={{ width: 70 }}
+              style={{ width: 100 }}
               onChange={setRows}
               options={[
                 { value: '20', label: '20' },

+ 1 - 1
frontend/src/pages/index/XrayLogModal.tsx

@@ -175,7 +175,7 @@ export default function XrayLogModal({ open, onClose }: XrayLogModalProps) {
           <Select
             value={rows}
             size="small"
-            style={{ width: 70 }}
+            style={{ width: 100 }}
             onChange={setRows}
             options={[
               { value: '20', label: '20' },