Skip to content

Fix some UI alignments (#25277) #25290

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

Merged
merged 2 commits into from
Jun 16, 2023

Conversation

GiteaBot
Copy link
Collaborator

Backport #25277 by @wxiaoguang

Fixes: #25282

Fix the problems:

  1. The repo-button-row had various patches before, this PR makes it consistent
  2. The "Add File" has wrong CSS class "icon", remove it
  3. The "Add File" padding was overridden by "!important", fix it by .repo-button-row .button.dropdown with comment
  4. The selector .ui.segments ~ .ui.top.attached.header is incorrect, it should use +

The repo-button-row is only used on 3 pages:

image

image

image

image

Fixes: go-gitea#25282

Fix the problems:

1. The `repo-button-row` had various patches before, this PR makes it
consistent
2. The "Add File" has wrong CSS class "icon", remove it
3. The "Add File" padding was overridden by "!important", fix it by
`.repo-button-row .button.dropdown` with comment
4. The selector `.ui.segments ~ .ui.top.attached.header` is incorrect,
it should use `+`
@GiteaBot GiteaBot added type/enhancement An improvement of existing functionality topic/ui Change the appearance of the Gitea UI skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Jun 15, 2023
@GiteaBot GiteaBot added this to the 1.20.0 milestone Jun 15, 2023
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jun 15, 2023
@GiteaBot GiteaBot requested review from lunny and silverwind June 15, 2023 15:12
@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 Jun 15, 2023
@silverwind silverwind enabled auto-merge (squash) June 15, 2023 16:27
@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 Jun 16, 2023
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Jun 16, 2023
@silverwind silverwind merged commit 783f7cc into go-gitea:release/v1.20 Jun 16, 2023
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Jun 16, 2023
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Sep 14, 2023
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. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants