|
|
@@ -90,7 +90,8 @@
|
|
|
justify-content: space-between;
|
|
|
width: 100%;
|
|
|
height: 56px;
|
|
|
- padding: 0 var(--mint-content-padding, 24px);
|
|
|
+ /* 左侧无 padding:brand 区与侧栏同宽,右边框才能纵向对齐 */
|
|
|
+ padding: 0 var(--mint-content-padding, 24px) 0 0;
|
|
|
user-select: none;
|
|
|
background: var(--mint-primary, #1ca851);
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
|
|
|
@@ -106,12 +107,18 @@
|
|
|
}
|
|
|
|
|
|
.portal-header-brand {
|
|
|
+ box-sizing: border-box;
|
|
|
display: flex;
|
|
|
flex-shrink: 0;
|
|
|
gap: 12px;
|
|
|
align-items: center;
|
|
|
- margin-right: 4px;
|
|
|
+ /* +1px:与侧栏 #app-sidebar 外边框(内容宽 + 1px border)纵向对齐 */
|
|
|
+ width: calc(var(--app-sidebar-open-width, 270px) + 1px);
|
|
|
+ min-width: calc(var(--app-sidebar-open-width, 270px) + 1px);
|
|
|
+ max-width: calc(var(--app-sidebar-open-width, 270px) + 1px);
|
|
|
+ padding-left: var(--mint-content-padding, 24px);
|
|
|
padding-right: 16px;
|
|
|
+ overflow: hidden;
|
|
|
cursor: pointer;
|
|
|
border-right: 1px solid rgba(255, 255, 255, 0.22);
|
|
|
}
|
|
|
@@ -121,8 +128,11 @@
|
|
|
}
|
|
|
|
|
|
.portal-header-title {
|
|
|
- max-width: 290px;
|
|
|
+ flex: 1;
|
|
|
+ min-width: 0;
|
|
|
margin: 0;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
font-size: 16px;
|
|
|
font-weight: 700;
|
|
|
line-height: 1.35;
|