mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 13:00:31 +00:00
修复仓库克隆点星按钮高度
This commit is contained in:
@@ -91,11 +91,18 @@ export const redButton = css`
|
|||||||
|
|
||||||
// 修复按钮高度
|
// 修复按钮高度
|
||||||
export const fixButtonHeight = css`
|
export const fixButtonHeight = css`
|
||||||
|
// 修复一些主色调或者其他小按钮的高度避免过高
|
||||||
.ui.small.buttons .button,
|
.ui.small.buttons .button,
|
||||||
.ui.ui.ui.ui.small.button {
|
.ui.ui.ui.ui.small.button {
|
||||||
min-height: 26px;
|
min-height: 26px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
}
|
}
|
||||||
|
// 修复因上面小按钮高度导致仓库星标克隆等按钮高度过高
|
||||||
|
.ui.labeled.button > .label,
|
||||||
|
.ui.ui.ui.ui.small.button.compact {
|
||||||
|
height: 28px;
|
||||||
|
min-height: 28px;
|
||||||
|
}
|
||||||
.ui.tiny.buttons .button,
|
.ui.tiny.buttons .button,
|
||||||
.ui.ui.ui.ui.tiny.button {
|
.ui.ui.ui.ui.tiny.button {
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
|
|||||||
Reference in New Issue
Block a user