Просмотр исходного кода

🤢 fix(ui): UsageLogsTable skeleton dimensions to avoid layout shift

t0ng7u 7 месяцев назад
Родитель
Сommit
1b739e87ae
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      web/src/components/table/usage-logs/UsageLogsActions.jsx

+ 3 - 3
web/src/components/table/usage-logs/UsageLogsActions.jsx

@@ -53,9 +53,9 @@ const LogsActions = ({
   // Skeleton placeholder layout (three tag-size blocks)
   const placeholder = (
     <Space>
-      <Skeleton.Title style={{ width: 108, height: 26, borderRadius: 6 }} />
-      <Skeleton.Title style={{ width: 65, height: 26, borderRadius: 6 }} />
-      <Skeleton.Title style={{ width: 64, height: 26, borderRadius: 6 }} />
+      <Skeleton.Title style={{ width: 108, height: 21, borderRadius: 6 }} />
+      <Skeleton.Title style={{ width: 65, height: 21, borderRadius: 6 }} />
+      <Skeleton.Title style={{ width: 64, height: 21, borderRadius: 6 }} />
     </Space>
   );