탭 표시 제어 및 헤더 중앙 정렬 수정
This commit is contained in:
@@ -51,9 +51,11 @@ function setActiveView(view) {
|
|||||||
const isOrganization = currentView === "organization";
|
const isOrganization = currentView === "organization";
|
||||||
if (organizationStage) {
|
if (organizationStage) {
|
||||||
organizationStage.hidden = !isOrganization;
|
organizationStage.hidden = !isOrganization;
|
||||||
|
organizationStage.style.display = isOrganization ? "flex" : "none";
|
||||||
}
|
}
|
||||||
if (emptyStage) {
|
if (emptyStage) {
|
||||||
emptyStage.hidden = isOrganization;
|
emptyStage.hidden = isOrganization;
|
||||||
|
emptyStage.style.display = isOrganization ? "none" : "flex";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isOrganization && previousView !== "organization" && organizationFrame) {
|
if (isOrganization && previousView !== "organization" && organizationFrame) {
|
||||||
|
|||||||
@@ -153,10 +153,9 @@
|
|||||||
background: rgba(255, 255, 255, 0.94);
|
background: rgba(255, 255, 255, 0.94);
|
||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
border-bottom: 1px solid #d7dee8;
|
border-bottom: 1px solid #d7dee8;
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-columns: auto 1fr auto;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 16px;
|
justify-content: space-between;
|
||||||
padding: 10px 22px;
|
padding: 10px 22px;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
@@ -164,6 +163,12 @@
|
|||||||
backdrop-filter: blur(12px);
|
backdrop-filter: blur(12px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.brand-block,
|
||||||
|
.header-actions {
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
.dashboard-header .eyebrow {
|
.dashboard-header .eyebrow {
|
||||||
color: var(--color-accent);
|
color: var(--color-accent);
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
@@ -177,10 +182,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.header-center {
|
.header-center {
|
||||||
display: flex;
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
display: inline-flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: nowrap;
|
||||||
|
white-space: nowrap;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-pill {
|
.nav-pill {
|
||||||
@@ -320,12 +330,18 @@
|
|||||||
|
|
||||||
@media (max-width: 1180px) {
|
@media (max-width: 1180px) {
|
||||||
.dashboard-header {
|
.dashboard-header {
|
||||||
grid-template-columns: 1fr;
|
flex-wrap: wrap;
|
||||||
align-items: flex-start;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-center {
|
.header-center {
|
||||||
|
position: static;
|
||||||
|
transform: none;
|
||||||
|
order: 3;
|
||||||
|
width: 100%;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
margin-top: 8px;
|
||||||
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-actions {
|
.header-actions {
|
||||||
|
|||||||
Reference in New Issue
Block a user