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

feat(mobile-data-mode): add mobile compatibility #490

Merged
merged 11 commits into from
Aug 20, 2020

Conversation

KatvonRivia
Copy link
Member

No description provided.

@KatvonRivia KatvonRivia requested a review from pwambach August 19, 2020 14:17
src/scripts/components/main/app/app.styl Outdated Show resolved Hide resolved
@@ -36,3 +36,6 @@
.hideLabel
span
display: none

button.button.hideLabel
Copy link
Contributor

Choose a reason for hiding this comment

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

why the button.button.? Isn't this the same class as the hideLabel above?

Copy link
Member Author

Choose a reason for hiding this comment

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

It gets overwritten by

.button, &:not(:first-child) padding-left: emCalc(30px)

in navigation.tsx, so i needed to give it a higher specification.

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks to me like the problem should be solved in the navigation component. Not sure if I understand the problem but the "shared" button component shouldn't have to adjust its code because someone who uses the component overwrites its styles.

Copy link
Member Author

Choose a reason for hiding this comment

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

Makes sense, thanks! I will change it.

@KatvonRivia KatvonRivia requested a review from pwambach August 19, 2020 15:35
@KatvonRivia KatvonRivia merged commit b7da2f7 into develop Aug 20, 2020
@KatvonRivia KatvonRivia deleted the feat/mobile-data-mode branch August 20, 2020 07:02
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.

2 participants