-
Notifications
You must be signed in to change notification settings - Fork 220
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
update header and theme #2261
update header and theme #2261
Conversation
[frontend] [Sun Jun 23 04:25:37 UTC 2024] - Deployed c132019 to https://genshin-optimizer-prs.github.io/pr/2261/frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Sun Jun 23 04:36:37 UTC 2024] - Deployed 27e0939 to https://genshin-optimizer-prs.github.io/pr/2261/frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Sun Jun 23 11:39:30 UTC 2024] - Deployed 78e379b to https://genshin-optimizer-prs.github.io/pr/2261/frontend (Takes 3-5 minutes after this completes to be available) [frontend] [Sun Jun 23 11:42:34 UTC 2024] - Deployed 9f9677a to https://genshin-optimizer-prs.github.io/pr/2261/frontend (Takes 3-5 minutes after this completes to be available) [Mon Jun 24 04:32:26 UTC 2024] - Deleted deployment |
@@ -217,37 +220,34 @@ function HeaderContent({ anchor }: { anchor: string }) { | |||
transition: 'background-color 0.5s ease', | |||
backgroundColor: 'rgba(255,255,255,0.1)', | |||
}, | |||
}} | |||
'& .Mui-selected': { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you try with pseudoelement with prebolded text? I think the current design is a bit hard to notice which tab you're on even with the colorization
https://stackoverflow.com/questions/556153/inline-elements-shifting-when-made-bold-on-hover
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/shrug
Describe your changes
Issue or discord link
Testing/validation
New(left) vs. Old(right)
![Screenshot 2024-06-23 001905](https://private-user-images.githubusercontent.com/1754901/342020632-1a57262a-9aa8-4cee-9b5f-0f3c859eb6bf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyNTA5NTUsIm5iZiI6MTcyMTI1MDY1NSwicGF0aCI6Ii8xNzU0OTAxLzM0MjAyMDYzMi0xYTU3MjYyYS05YWE4LTRjZWUtOWI1Zi0wZjNjODU5ZWI2YmYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTdUMjExMDU1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZGMxODZiYzkyZDVkY2JiMzBkZTg0M2I5NGU2YWNkZmE1M2ZkOWQ2YzRlY2NiZTMwYzZkZmQ4OTIwNzJlMDM1YiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.19kSGKDTw2u0K2jqLgGCUjWbkXc-QWVayz1_RV4-mNk)
Mobile
![image](https://private-user-images.githubusercontent.com/1754901/342020659-183630de-d06c-4a40-87f0-c7c27423f4c1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyNTA5NTUsIm5iZiI6MTcyMTI1MDY1NSwicGF0aCI6Ii8xNzU0OTAxLzM0MjAyMDY1OS0xODM2MzBkZS1kMDZjLTRhNDAtODdmMC1jN2MyNzQyM2Y0YzEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTdUMjExMDU1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzZlZWRkNTJjNzM3ODYzYTcwYzkzYjI4OTE2NTM0YWUzMGVmZmFmZGM0YzZlYTZlMDhkN2VlM2U2MDU1NGQ0NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.PywUDfLiTq0rx7zayVKV7lQl6mCIYY9JNwpezwKAmTQ)
Checklist before requesting a review (leave this PR as draft if any part of this list is not done.)
yarn run mini-ci
locally to validate format and lint.