-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix icon alignment for show/hide outdated link on resolved conversation #11881
Conversation
Better than before, but it does not look quite vertical center inside the box to me. Maybe some flexbox centering would help. Also there's a border-radius issue on the bottom where the white background cuts into the border-radius of the box. Maybe you can either remove the background or set border-radius on the element with the background. |
Wasn't supposed to fix that actually, just alignment between text and icon.
I see it, will try later and open another PR if I manage to get it right |
Fine with me but I think we want to group related fixes together as less PRs is less work :) |
Yes but it's not really an easy fix, because the issue is on Also setting border radius is not a proper fix because if you look closely there, the actual bottom border line is thinner than it should be. The best I can come up with so far is & > .segment {
margin-bottom: .02em;
} |
Also setting border on first |
That border radius issue is tricky because fomantic uses .ui.segments:not(.horizontal) > .segment:last-child to fix the border radius but What we could do is remove |
It makes the segment same color as background on arc-green however, which is definitely not desired. |
Generally I'd say arc-green has no business setting a different background there if the light theme also doesn't do it, but I guess these parts need a rework anyways. |
The problem is that borders are generally less visible on arc-green, so it makes it harder to notice and is compensated with slight variations in background color. Designing dark theme on top of light one is not an easy task, I'd say arc-green is doing exceptionally well for what it has to work with. |
Technically it does, the background isn't inherited but explicitly set on element to #fff |
I think it's doing rather bad actually, contrast issues all over the place and many small issues. I plan to eventually auto-generate arc green and a proper dark theme using https://github.com/silverwind/remap-css which is just a css color remapping but I still have a few TODOs on that module before I can start on it. |
|
Will take second attempt at solving it later, but don't want to block this PR either. |
ping LG-TM |
…o-gitea#11881) Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Before:
After: