-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Fix regression with action button height with icon #26850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thank you, didn't find it. Maybe it need a comment about which page uses it |
I guess we can simplify the selector and call it out in the CSS. Maybe I'll also try a general solution to buttons with svg. |
I have a feeling that the Now the buttons all have |
-> Remove CSS has selector and improve various styles #26891 |
Replace #26850 Major changes: 1. Remove all `has` selectors, it is still not supported by firefox. Actually there could be some more general and clearer approaches 2. Remove `two-toggle-buttons`, the `.ui.buttons` just works well 3. Rewrite the `.ui.buttons` border styles, see the screenshots 4. Remove the "fine-tuning" paddings from the the flex children, they could layout themselves well.    
I'm skeptical whether |
I have tested all the related UI, except one:
Actually I didn't see difference after removing it. If it doesn't look good, feel free to let me know. |
It is this box and yes, it has regressed: https://try.gitea.io/silverwind/symlink-test/pulls/2 ![]() Notice the background bleeding into the border on bottom. The hiding mechanism is crude and just hides all children with |
Or, keep using "ui segment" for consistency, and use:
|
Or, make it (
|
Works for me, I wouldn't mind removal of |
I guess the use case kind of screams for a |
One of the recent changes seems to have removed this needed CSS rule, resulting in this regression where the input element is stretched too high because of the SVG:
Before (search bar too high):

After (search roughly equal in height to buttons on left):
