-
-
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
Clean up polluted styles and remove dead CSS code #24497
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GiteaBot
added
the
lgtm/need 2
This PR needs two approvals by maintainers to be considered for merging.
label
May 3, 2023
pull-request-size
bot
added
the
size/M
Denotes a PR that changes 30-99 lines, ignoring generated files.
label
May 3, 2023
delvh
approved these changes
May 3, 2023
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
May 3, 2023
Where is it handled now? |
Just dead code IMO, no |
Ah I think that was the triangle besides issue comments, now handled by |
silverwind
approved these changes
May 3, 2023
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
May 3, 2023
silverwind
added
the
reviewed/wait-merge
This pull request is part of the merge queue. It will be merged soon.
label
May 3, 2023
GiteaBot
removed
the
reviewed/wait-merge
This pull request is part of the merge queue. It will be merged soon.
label
May 3, 2023
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
May 4, 2023
* upstream/main: (65 commits) Changelog for 1.19.3 (go-gitea#24495) (go-gitea#24506) Use Actions for DB & E2E tests (go-gitea#24494) Fix intermittent CI failure in EmptyQueue (go-gitea#23753) Prevent a user with a different email from accepting the team invite (go-gitea#24491) Fix incorrect webhook time and use relative-time to display it (go-gitea#24477) Make Issue/PR/projects more compact, misc CSS tweaks (go-gitea#24459) Implement Cargo HTTP index (go-gitea#24452) Clean up polluted styles and remove dead CSS code (go-gitea#24497) Improve pull request merge box when pull request merged and branch deleted. (go-gitea#24397) Fix EasyMDE toolbar (go-gitea#24489) Enhance stylelint rule config, remove dead CSS (go-gitea#24472) Fix api error message if fork exists (go-gitea#24487) Add ntlm authentication support for mail (go-gitea#23811) Fix test delivery button in repo webhook settings page (go-gitea#24478) Add Debian package registry (go-gitea#24426) Enable whitespace rendering on selection in Monaco (go-gitea#24444) Replace `N/A` with `-` everywhere (go-gitea#24474) Fix invite display (go-gitea#24447) [skip ci] Updated translations via Crowdin replace PR docker dry run in drone with Actions (go-gitea#24475) ... # Conflicts: # templates/base/footer_content.tmpl
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follow #24393
The funny history:
.ui.message
was polluted bytext-align: center
<div class="ui ... message text left">
.ui.left
is polluted byfloat: left
#xxx .ui.message { width: 100% !important;}
The code just becomes more and more hacky.
After removing the pollution, everything becomes clear and straight.
And, this PR also does:
package.css
, its styles could be provided bytop aligned
#avatar-arrow
, dead codeScreenshot: