Skip to content
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

Merged
merged 3 commits into from
Oct 2, 2020

Conversation

mrsdizzie
Copy link
Member

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:
Screen Shot 2020-10-01 at 11 14 18 PM

After:
Screen Shot 2020-10-01 at 11 57 35 PM

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
@mrsdizzie mrsdizzie added this to the 1.13.0 milestone Oct 2, 2020
@mrsdizzie mrsdizzie added type/bug topic/ui Change the appearance of the Gitea UI labels Oct 2, 2020
@codecov-commenter
Copy link

codecov-commenter commented Oct 2, 2020

Codecov Report

Merging #13011 into master will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           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     
Impacted Files Coverage Δ
modules/log/event.go 57.54% <0.00%> (-1.89%) ⬇️
services/pull/check.go 47.69% <0.00%> (-0.77%) ⬇️
services/pull/pull.go 40.78% <0.00%> (-0.50%) ⬇️
models/error.go 34.85% <0.00%> (+0.50%) ⬆️
modules/git/repo.go 46.70% <0.00%> (+0.50%) ⬆️
modules/git/utils.go 77.04% <0.00%> (+3.27%) ⬆️
modules/avatar/avatar.go 54.76% <0.00%> (+4.76%) ⬆️
modules/indexer/stats/queue.go 76.47% <0.00%> (+11.76%) ⬆️
modules/indexer/stats/db.go 60.86% <0.00%> (+17.39%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 54dd28f...b70aeac. Read the comment docs.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 2, 2020
Copy link
Contributor

@zeripath zeripath left a 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

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Oct 2, 2020
Copy link
Contributor

@CirnoT CirnoT left a 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.

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Oct 2, 2020
@@ -997,6 +997,7 @@ i.icon.centerlock {
color: rgba(27, 31, 35, .3);
width: 1%;
user-select: none;
font-family: @monospaced-fonts, monospace;
Copy link
Contributor

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?

@mrsdizzie
Copy link
Member Author

Textarea is still using wrong font, otherwise looks good.

SimpleMDE seems to use monospace font in all instances (which I don't really like either).

@techknowlogick techknowlogick merged commit 7a34fc0 into go-gitea:master Oct 2, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

code-view active class being applied to PR code comment editor
7 participants