feat(short-drama-agent-front): 新增全局主题和左右布局切换

This commit is contained in:
GJ committed 2026-11-06 22:07:42 +08:00
1 parent db9aea1694
commit 27ee9fd4ff
10 files changed
+709 -41

No files matched your search

+17
View File
@@ -433,6 +433,23 @@ onScopeDispose(() => {
.project-header .n-page-header__extra {
@apply flex items-center;
}
/* 右侧布局让返回按钮和项目名称靠近导航,项目操作放到左侧。 */
.is-nav-right .project-header .n-page-header,
.is-nav-right .project-header .n-page-header__main {
flex-direction: row-reverse;
}
.is-nav-right .project-header .n-page-header__back,
.is-nav-right .project-header .n-page-header__title {
margin-right: 0;
margin-left: 16px;
}
/* 返回入口靠右时,箭头指向右侧导航。 */
.is-nav-right .project-header .n-page-header__back svg {
transform: scaleX(-1);
}
.is-nav-right .project-header .n-page-header__title {
text-align: right;
}
.project-title {
@apply block max-w-full text-base font-semibold leading-normal;
}