瀏覽代碼

V1.1.6图标调整大小

liuq 4 周之前
父節點
當前提交
0cc9d84cfd
共有 2 個文件被更改,包括 8 次插入8 次删除
  1. 6 6
      src/renderer/src/components/AppMappingList.tsx
  2. 2 2
      src/renderer/src/index.css

+ 6 - 6
src/renderer/src/components/AppMappingList.tsx

@@ -462,8 +462,8 @@ const AppMappingList: React.FC<AppMappingListProps> = ({ token, currentUserId })
                     appId={item.app_id}
                     iconUrl={mappingForIcon?.icon_url}
                     iconObjectKey={mappingForIcon?.icon_object_key}
-                    sizePx={28}
-                    extraStyle={{ marginRight: 10 }}
+                    sizePx={38}
+                    extraStyle={{ marginRight: 8 }}
                   />
                   <div style={{ minWidth: 0 }}>
                     <div style={{ fontWeight: 'bold', fontSize: '13px' }}>{item.app_name}</div>
@@ -541,8 +541,8 @@ const AppMappingList: React.FC<AppMappingListProps> = ({ token, currentUserId })
                         appId={mapping.app_id}
                         iconUrl={mapping.icon_url}
                         iconObjectKey={mapping.icon_object_key}
-                        sizePx={40}
-                        extraStyle={{ marginRight: 15 }}
+                        sizePx={52}
+                        extraStyle={{ marginRight: 10 }}
                       />
                       <div>
                         <div style={{ fontWeight: 'bold' }}>{mapping.app_name}</div>
@@ -581,8 +581,8 @@ const AppMappingList: React.FC<AppMappingListProps> = ({ token, currentUserId })
                     appId={mapping.app_id}
                     iconUrl={mapping.icon_url}
                     iconObjectKey={mapping.icon_object_key}
-                    sizePx={40}
-                    extraStyle={{ marginRight: 15 }}
+                    sizePx={52}
+                    extraStyle={{ marginRight: 10 }}
                   />
                   <div>
                     <div style={{ fontWeight: 'bold' }}>{mapping.app_name}</div>

+ 2 - 2
src/renderer/src/index.css

@@ -215,7 +215,7 @@ body {
 
 /* 浏览器导航卡片 */
 .browser-card {
-  padding: 15px;
+  padding: 10px;
   background-color: white;
   border-radius: 6px;
   margin-bottom: 10px;
@@ -233,6 +233,6 @@ body {
 
 /* 最近打开小卡片:一行 5 个 */
 .browser-card--recent {
-  padding: 10px;
+  padding: 6px 8px;
   margin-bottom: 0;
 }