-
-
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
Various code view improvements #30014
Conversation
4300ebc
to
61fb904
Compare
Did... Did you just add jQuery code to the codebase? |
What have I done to deserve this |
I think the problem is that this file is already using jQuery heavily, so using something else would only be more confusing at the moment. |
Fine :( |
Can rewrite without I guess. The whole function was very hard to read because of those confusing variable names it has. |
I guess this is as much refactor as I'm willing to do right now. Variable names are much clearer now and some jQuery is removed. |
Unescape button was missing right border in blame view, fixed in b867329 so that 2nd and 2nd to last button is considered for border addition: |
Blame commit links now look like this: I also added underline styles to base, I think they were lost as a regression from #29980. |
Regression with |
Screenshots updated in OP. Ready to go imho. |
Co-authored-by: 6543 <6543@obermui.de>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets merge this and itterate on it
Fix regression from #30014. The rule was to broad and affecting things like `primary` button unintentionally.
Fix regression from go-gitea/gitea#30014. The rule was to broad and affecting things like `primary` button unintentionally. (cherry picked from commit bbaf62589fe538be4afc86455d772360de80e7d8)
code-line-button
so that it does not go off-screen on small viewportscode-line-button
look and behave like other buttonscode-line-button
work in blame--color-code-sidebar-bg
in blame, now it uses same background as code--color-active-line
to--color-highlight-bg
--color-highlight-bg
Fixes: #18074