mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 13:00:31 +00:00
同步分支菜单宽度
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { animationDown, animationUp } from "src/core/theme";
|
||||
import { css, otherThemeVars, themeVars } from "src/types/vars";
|
||||
import { fallbackVar } from "src/functions";
|
||||
import { css, customThemeVars, otherThemeVars, themeVars } from "src/types/vars";
|
||||
import { activeItemAfterStyle } from "styles/public/menu";
|
||||
|
||||
export const dropdown = css`
|
||||
@@ -194,8 +195,12 @@ export const fixSelectionDropdown = css`
|
||||
|
||||
// 分支菜单
|
||||
export const branchDropdown = css`
|
||||
.ui.dropdown.branch-selector-dropdown .menu > .item {
|
||||
animation: ${animationDown};
|
||||
.ui.dropdown.branch-selector-dropdown > .menu {
|
||||
width: ${fallbackVar(customThemeVars.branchMenuWidth, "320px")};
|
||||
max-width: 640px;
|
||||
> .item {
|
||||
animation: ${animationDown};
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user