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

Work around fomantic 2.8.5 bugs #11767

Merged
merged 7 commits into from
Jun 7, 2020
Merged

Conversation

CirnoT
Copy link
Contributor

@CirnoT CirnoT commented Jun 5, 2020

@CirnoT
Copy link
Contributor Author

CirnoT commented Jun 5, 2020

The slight change in icon alignment is caused by fomantic/Fomantic-UI@c9e768d

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

silverwind commented Jun 5, 2020

Any related Fomantic issues for these? Maybe fomantic/Fomantic-UI#1502?

@CirnoT
Copy link
Contributor Author

CirnoT commented Jun 5, 2020

Yes that's the one for dropdown, as for icon vertical align, not sure it can be considered bug on Fomantic end aside from the fact that change was introduced in patch release.

For icon alignment looks like just a change on FA side, most likely they won't consider it as bug either.

@lubber-de
Copy link

Holy! 👀 We'll look into and will fix the dropdown issue asap! (although the left menu fix will also work (has no impact) in 2.8.4)

Regarding the icon issue, i cannot reproduce the drastical icon alignment difference as shown in your screenshots of gitea

I prepared 2 little jsfiddles out of the relevant gitea template code for the merge button and the underlying out-of-date info

I also see a slight difference in vertical positioning, but not as much as in your code. Am i missing some additional gitea class here? We will investigate, if we will revert the icon vertical align change .

2.8.4 OK

https://jsfiddle.net/usfh3tpw
image

2.8.5 Around 2px difference

https://jsfiddle.net/usfh3tpw/1/
image

Gitea Screenhots (around 16px difference)

image

@lubber-de
Copy link

We fixed the icon alignment by fomantic/Fomantic-UI#1503

@CirnoT
Copy link
Contributor Author

CirnoT commented Jun 5, 2020

@lubber-de The exclamation mark in your fiddle uses standard icon, but we use <svg> there.

2.8.4: https://jsfiddle.net/uzkmheLo/
2.8.5: https://jsfiddle.net/eokpj6rz/1/

@zeripath
Copy link
Contributor

zeripath commented Jun 7, 2020

make lg-tm work

@zeripath zeripath merged commit 880ae45 into go-gitea:master Jun 7, 2020
@CirnoT CirnoT deleted the fomantic-patch branch June 7, 2020 21:24
@lubber-de
Copy link

Fomantic-UI 2.8.6 has just been released which should fix the issues in the core now.

@silverwind
Copy link
Member

Thanks! @CirnoT would you like to attempt this upgrade, removing workarounds where possible?

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug:ui bug on merge way choose box
6 participants