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

UI tweaks #10

Merged
merged 3 commits into from
Oct 16, 2019
Merged

UI tweaks #10

merged 3 commits into from
Oct 16, 2019

Conversation

tegon
Copy link
Contributor

@tegon tegon commented Oct 8, 2019

Summary

This pull request includes some UI tweaks that I thought could be useful while I was developing #5. Let me know what you think about them.

Changes included

Do not highlight positions when it's the opponent turn

Before this change, the board positions would always be highlighted - i.e. hover effect - even when it's not my turn to play. Now, they're only highlighted when it's my turn to play.
The new behavior is demostrated on the GIF below:
Kapture 2019-10-07 at 19 34 28

Change page title

I noticed that the page title was Phoenix's default one, so I decided to update it to a more descriptive title.

Remove word-spacing from logo

The log was broken on Safari due to the word-spacing CSS property - which doesn't seem to work on Safari. I couldn't find a good solution for this, so I decided to remove it since it doesn't look that much different without it.

Safari - before

Screen Shot 2019-10-08 at 09 12 02

Safari - now

Screen Shot 2019-10-08 at 09 12 40

Chrome - before

Screen Shot 2019-10-08 at 09 13 36

Chrome - now

Screen Shot 2019-10-08 at 09 13 59

I'm not really happy about this change, so let me know if you think it's better to revert it.

@feliperenan feliperenan self-requested a review October 15, 2019 11:27
@feliperenan feliperenan merged commit 5e44795 into feliperenan:master Oct 16, 2019
@feliperenan
Copy link
Owner

Thanks bro 👋 . Looks awesome.

@tegon tegon deleted the let-ui-fixes branch June 17, 2021 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants