Fix button size in "attached header right" (#28770)

Before:

<details>


![image](c82f8615-04d4-408f-95bf-689c227a8814)



![image](d01d05a7-09ca-48f3-a0e7-fec48119b426)

</details>

After:



![image](e560398e-2fa4-4f46-9229-f6acc70e32ab)


![image](bd18961d-0636-4584-b893-c465daaf40af)
This commit is contained in:
wxiaoguang 2024-01-12 22:43:40 +08:00 committed by GitHub
parent 34a0684397
commit ad0b637d46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 8 deletions

View file

@ -1764,11 +1764,12 @@ a.ui.basic.label:hover {
bottom: 0;
display: flex;
align-items: center;
gap: 0.25em;
}
.ui.attached.header > .ui.right > .button,
.ui.attached.header > .ui.right > .dropdown > .button {
padding: 8px 10px;
/* the default ".ui.attached.header > .ui.right" is only able to contain "tiny" buttons, other buttons are too large */
.ui.attached.header > .ui.right .ui.tiny.button {
padding: 6px 10px;
font-weight: var(--font-weight-normal);
}