diff --git a/src/views/HomePage.vue b/src/views/HomePage.vue index d970059..74bea91 100644 --- a/src/views/HomePage.vue +++ b/src/views/HomePage.vue @@ -646,7 +646,9 @@ export default { cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); - width: @card-width; + min-width: @card-width; // 最小宽度 + width: auto; // 自动宽度 + max-width: 400px; // 最大宽度限制 position: relative; z-index: 1; // 确保卡片低于Tab区域 @@ -838,12 +840,16 @@ export default { font-weight: 600; color: @text-primary; margin: 0 0 4px; + white-space: nowrap; // 不换行 + overflow: visible; // 允许溢出 } .tool-desc { font-size: 13px; color: @text-secondary; margin: 0 0 4px; + white-space: nowrap; // 不换行 + overflow: visible; // 允许溢出 } .tool-url { diff --git a/src/views/ManagePage.vue b/src/views/ManagePage.vue index 25723b4..679a723 100644 --- a/src/views/ManagePage.vue +++ b/src/views/ManagePage.vue @@ -85,6 +85,7 @@