huminmin
3 天以前 7b7c1c76def12f1267c23b8c0de7ec085d96694b
src/layout/components/Sidebar/Logo.vue
@@ -164,6 +164,8 @@
  &.collapse {
    .sidebar-logo-link {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
@@ -174,19 +176,22 @@
    }
    .sidebar-logo {
      width: 100%;
      height: 100%;
      max-width: 30px;
      max-height: 30px;
      padding: 0;
      width: calc(100% - 8px);
      height: calc(100% - 8px);
      max-width: none;
      max-height: none;
      padding: 4px;
      margin: 0 auto;
      filter: none;
      object-fit: contain;
      object-position: center;
    }
    .sidebar-favicon {
      width: 28px;
      height: 28px;
      max-width: 28px;
      max-height: 28px;
      width: calc(100% - 8px);
      height: calc(100% - 8px);
      max-width: none;
      max-height: none;
    }
  }
}