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

Center align navbar text and remove account text for screen less than 1500px #1127

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

calvinlu3
Copy link
Collaborator

This fixes oncokb/oncokb#3742

@calvinlu3 calvinlu3 requested a review from zhx828 June 18, 2024 19:42
Comment on lines 238 to 239
this.props.windowStore.isLargeScreen &&
!this.props.windowStore.isXLscreen
Copy link
Member

Choose a reason for hiding this comment

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

Should this just be !this.props.windowStore.isXLscreen?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, I think that is a better condition. I just changed the prop to showAccountText and the condition to isXLscreen.

@calvinlu3 calvinlu3 requested a review from zhx828 June 18, 2024 20:13
Copy link
Member

@zhx828 zhx828 left a comment

Choose a reason for hiding this comment

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

LGTM. thanks

@calvinlu3 calvinlu3 merged commit f722789 into oncokb:master Jun 18, 2024
6 checks passed
@calvinlu3 calvinlu3 deleted the fix-navbar branch June 18, 2024 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants