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

Hacky fix for alignment of the create-organization dialog #6455

Merged
merged 2 commits into from
Mar 28, 2019

Conversation

zeripath
Copy link
Contributor

@zeripath zeripath commented Mar 28, 2019

This PR suggests a somewhat hacky fix for the bug in #6376.

The issue is that semantic UI doesn't really provide an inline grouped radiobox format.

This PR hacks its way around this by creating empty labels to force semantic to display the radio boxes under each other.

Screenshot from 2019-03-28 01-34-46

@techknowlogick techknowlogick added type/bug topic/ui Change the appearance of the Gitea UI labels Mar 28, 2019
@techknowlogick techknowlogick added this to the 1.9.0 milestone Mar 28, 2019
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Mar 28, 2019
@codecov-io
Copy link

codecov-io commented Mar 28, 2019

Codecov Report

Merging #6455 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6455      +/-   ##
==========================================
- Coverage   39.39%   39.39%   -0.01%     
==========================================
  Files         393      393              
  Lines       53271    53271              
==========================================
- Hits        20988    20986       -2     
- Misses      29297    29299       +2     
  Partials     2986     2986
Impacted Files Coverage Δ
models/repo_list.go 66.84% <0%> (-1.06%) ⬇️

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 2019983...0c14d01. Read the comment docs.

@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 Mar 28, 2019
Copy link
Member

@lafriks lafriks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not the best way to fix this but at least it 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 Mar 28, 2019
@lafriks lafriks merged commit 5e23c33 into go-gitea:master Mar 28, 2019
zeripath added a commit to zeripath/gitea that referenced this pull request Mar 28, 2019
)

* Hacky fix for alignment of the create-organization dialog

* Mangle the post-scripted red-asterisk back in to follow the Visibility Header
@zeripath zeripath deleted the hack-fix-for-6376 branch March 28, 2019 18:51
@zeripath
Copy link
Contributor Author

It truly is horrible and I'm both quite ashamed but also slightly proud of its hackery. Mostly it's just so we have something working for 1.8 so hopefully we'll get this properly fixed before too long.

techknowlogick pushed a commit that referenced this pull request Mar 28, 2019
)

* Hacky fix for alignment of the create-organization dialog

* Mangle the post-scripted red-asterisk back in to follow the Visibility Header
@techknowlogick techknowlogick added the backport/done All backports for this PR have been created label May 6, 2019
@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
backport/done All backports for this PR have been created 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.

7 participants