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 margin on attached segment headers when they are separated by other element #11425

Merged
merged 3 commits into from
May 16, 2020

Conversation

CirnoT
Copy link
Contributor

@CirnoT CirnoT commented May 15, 2020

Partially fixed in #10235 however the issue was still present if the elements were separated with something else, which happens in user settings.

chrome_2020-05-15_20-45-01
In this example first segment has proper margin, but the second one does not because there is confirmation modal between them.

@CirnoT
Copy link
Contributor Author

CirnoT commented May 15, 2020

I've mostly went around various places to verify that this does not break anything, but might have missed something. The alternative would be to ensure in templates that segments with headers are never separated from each other, which might not always be possible with granular templates we have.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label May 15, 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 May 15, 2020
@lafriks lafriks added topic/ui Change the appearance of the Gitea UI type/bug labels May 15, 2020
@lafriks lafriks added this to the 1.12.0 milestone May 15, 2020
@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 May 15, 2020
@techknowlogick
Copy link
Member

ping LG-TM

@techknowlogick techknowlogick merged commit 1d54479 into go-gitea:master May 16, 2020
@CirnoT CirnoT deleted the segment-header-attached branch May 16, 2020 12:01
ydelafollye pushed a commit to ydelafollye/gitea that referenced this pull request Jul 31, 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.

None yet

5 participants