瀏覽代碼

perf: 面包屑优化

曾坤森 3 月之前
父節點
當前提交
48323b84a7
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/components/global-breadcrumb/index.vue

+ 3 - 1
src/components/global-breadcrumb/index.vue

@@ -69,7 +69,7 @@ const goToRoute = (path: string) => {
 
 <style scoped lang="less">
 .global-breadcrumb {
-  margin-left: 16px;
+  margin-left: 6px;
 
   :deep(.arco-breadcrumb) {
     display: flex;
@@ -90,6 +90,7 @@ const goToRoute = (path: string) => {
 
 .breadcrumb-link {
   color: rgb(var(--color-text-1));
+  font-size: small;
   text-decoration: none;
   cursor: pointer;
 
@@ -101,5 +102,6 @@ const goToRoute = (path: string) => {
 
 .breadcrumb-text {
   color: var(--color-text-1);
+  font-size: small;
 }
 </style>