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

Fix the signing icon in the view_list.tmpl page #10511

Merged
merged 5 commits into from
Feb 28, 2020

Conversation

zeripath
Copy link
Contributor

There was a slight inconsistency introduced with the position of the signing avatar in #10425.

This fixes it.

@zeripath zeripath added type/bug topic/ui Change the appearance of the Gitea UI labels Feb 27, 2020
@zeripath zeripath added this to the 1.12.0 milestone Feb 27, 2020
@zeripath zeripath added the skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. label Feb 27, 2020
@zeripath
Copy link
Contributor Author

@silverwind

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Feb 27, 2020
@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 Feb 27, 2020
@silverwind
Copy link
Member

silverwind commented Feb 27, 2020

Cog fix:

.sha.label i.icon.centerlock {
    top: 10px;
}

@silverwind
Copy link
Member

Centering looking good with this.

@zeripath
Copy link
Contributor Author

@silverwind are you having the cog misplaced?

@silverwind
Copy link
Member

silverwind commented Feb 27, 2020

It's just a OCD tweak to center it on the lock's "body".

1.5em:

image

10px:
image

1.45em (best):
image

@zeripath
Copy link
Contributor Author

done

web_src/less/_base.less Outdated Show resolved Hide resolved
as per @silverwind

Co-Authored-By: silverwind <me@silverwind.io>
@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 Feb 27, 2020
@guillep2k
Copy link
Member

Ping LG-TM

@guillep2k guillep2k merged commit efec0d3 into go-gitea:master Feb 28, 2020
@zeripath zeripath deleted the fix-icon-position branch February 28, 2020 07:44
zeripath added a commit to zeripath/gitea that referenced this pull request Feb 28, 2020
Backport go-gitea#10425
Backport go-gitea#10511

* Show Signer in commit lists and add basic trust (go-gitea#10425)

Show the avatar of the signer in the commit list pages as we do not
enforce that the signer is an author or committer. This makes it
clearer who has signed the commit.

Also display commits signed by non-members differently from
members and in particular make it clear when a non-member signer
is different from the committer to help reduce the risk of
spoofing.

Signed-off-by: Andrew Thornton <art27@cantab.net>

Fix the signing icon in the  view_list.tmpl page (go-gitea#10511)

Co-Authored-By: silverwind <me@silverwind.io>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
guillep2k added a commit that referenced this pull request Feb 28, 2020
Backport #10425
Backport #10511

* Show Signer in commit lists and add basic trust (#10425)

Show the avatar of the signer in the commit list pages as we do not
enforce that the signer is an author or committer. This makes it
clearer who has signed the commit.

Also display commits signed by non-members differently from
members and in particular make it clear when a non-member signer
is different from the committer to help reduce the risk of
spoofing.

Signed-off-by: Andrew Thornton <art27@cantab.net>

Fix the signing icon in the  view_list.tmpl page (#10511)

Co-Authored-By: silverwind <me@silverwind.io>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
zeripath added a commit to zeripath/gitea that referenced this pull request Feb 29, 2020
Unfortunately the fix in go-gitea#10511 was slightly incorrect and placed the
detail box at one level too far out.

Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath added a commit that referenced this pull request Feb 29, 2020
Unfortunately the fix in #10511 was slightly incorrect and placed the
detail box at one level too far out.

Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath added a commit to zeripath/gitea that referenced this pull request Feb 29, 2020
Unfortunately the fix in go-gitea#10511 was slightly incorrect and placed the
detail box at one level too far out.

Signed-off-by: Andrew Thornton <art27@cantab.net>
lafriks pushed a commit that referenced this pull request Feb 29, 2020
Unfortunately the fix in #10511 was slightly incorrect and placed the
detail box at one level too far out.

Signed-off-by: Andrew Thornton <art27@cantab.net>
@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. 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/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants