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

sticky topnav updates for latest PR feedback #14900

Merged
merged 11 commits into from
Mar 18, 2024

Conversation

schlawg
Copy link
Collaborator

@schlawg schlawg commented Mar 17, 2024

  • dark mode header style change
  • fix for cms page margin
  • account menu icon remains large, feel free to make smaller. (the reason it's kinda big is 1. to give it prominence and 2. to balance the lichess logo a bit when that's showing)

@schlawg schlawg marked this pull request as draft March 18, 2024 06:02
@schlawg schlawg marked this pull request as ready for review March 18, 2024 12:07
* master:
  /broadcast title font size middle ground
  tweak relay leaderboard caches
  New Crowdin updates (lichess-org#14891)
  numbers that can go up, must go up
  use relay player elo for leaderboard sorting
  larger title for cards
@ornicar
Copy link
Collaborator

ornicar commented Mar 18, 2024

I still have to review the TS scrupulously but I think the feature can get a try in prod. See how pissed people get.

@@ -185,7 +185,7 @@ function galleryInput(ctrl: BackgroundCtrl) {
const montageUrl = site.asset.url(gallery[`montage${cols}`], { noVersion: true });
// our layout is static due to the single image gallery optimization. set width here
// and allow for the possibility of non-overlaid scrollbars
const width = cols * (160 + 2) + (gallery.images.length > cols * 4 ? elementScrollBarWidth() : 0);
const width = cols * (160 + 2) + (gallery.images.length > cols * 4 ? elementScrollBarWidthSlowGuess() : 0);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I guess elementScrollBarWidthSlowGuessBlameSchlawg() was too long.

@ornicar ornicar merged commit d220680 into lichess-org:master Mar 18, 2024
4 checks passed
@schlawg schlawg deleted the topnav-tweaks-v2 branch March 19, 2024 08:47
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