-
-
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
Remove code-view class from diff view #13011
Remove code-view class from diff view #13011
Conversation
code-view class seems unecessary here as everything needed style wise comes from various diff classes. This allows comments and comment editor to be styled properly and fixes linked bug. Fixes go-gitea#13010
Codecov Report
@@ Coverage Diff @@
## master #13011 +/- ##
=======================================
Coverage 42.59% 42.60%
=======================================
Files 671 671
Lines 73635 73635
=======================================
+ Hits 31365 31372 +7
+ Misses 37184 37181 -3
+ Partials 5086 5082 -4
Continue to review full report at Codecov.
|
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.
Just double check that this is correct on arc green but otherwise lgtm
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.
Textarea is still using wrong font, otherwise looks good.
@@ -997,6 +997,7 @@ i.icon.centerlock { | |||
color: rgba(27, 31, 35, .3); | |||
width: 1%; | |||
user-select: none; | |||
font-family: @monospaced-fonts, monospace; |
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.
Why did you add this?
SimpleMDE seems to use monospace font in all instances (which I don't really like either). |
code-view class seems unecessary here as everything needed style wise comes from various diff classes. This allows comments and comment editor to be styled properly and fixes linked bug.
Fixes #13010
Before:
After: