dropdown 迁移

This commit is contained in:
lutinglt
2025-07-05 21:48:37 +08:00
parent 49b08975d2
commit f68ad71ddb
7 changed files with 83 additions and 151 deletions

View File

@@ -53,3 +53,19 @@ export const commit = css`
}
}
`;
// 文件列表页面下的分支按钮
export const branchButton = css`
.page-content.repository.file.list {
.ui.dropdown.branch-selector-dropdown > .menu > .menu {
// 显示默认分支的标签
.ui.label {
background-color: ${themeVars.color.menu};
border: 1px solid ${themeVars.color.light.border};
margin-top: 1px;
margin-left: auto;
margin-right: 16px; // gitea 有 RSS 留出足够的空间
}
}
}
`;