Skip to content

Conversation

@ch0rizo
Copy link
Contributor

@ch0rizo ch0rizo commented Oct 27, 2025

Description

Solution for webkom/lego#3837 (comment). Instead of making the toolbar sticky, I opted to make the content-box scrollable with a max-height. Now the toolbar does not get pushed outside your viewport. A sticky toolbar would also look kinda awkward🤷‍♂️

Btw, toolbar component code is very cool!

Result

If you've made visual changes, please check the boxes below and include images showing the changes. Descriptions are appreciated.

  • Changes look good on both light and dark theme.
  • Changes look good with different viewports (mobile, tablet, etc.).
  • Changes look good with slower Internet connections.

Caution

Make sure your images do not contain any real user information.

Description Before After
Always visible tooltip
Screen.Recording.2025-10-27.at.19.55.15.mov
Screen.Recording.2025-10-27.at.19.52.58.mov

Testing

  • I have thoroughly tested my changes.

Please describe what and how the changes have been tested, and provide instructions to reproduce if necessary.


Resolves ABA-1472

@ch0rizo ch0rizo requested a review from a team October 27, 2025 19:09
@ch0rizo ch0rizo self-assigned this Oct 27, 2025
@linear
Copy link

linear bot commented Oct 27, 2025

@github-actions github-actions bot added the review-needed Pull requests that need review label Oct 27, 2025
Copy link
Contributor

@Viljen789 Viljen789 left a comment

Choose a reason for hiding this comment

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

Not sure if we moved away from using vh, but really nice change anyways! Looks much better!

@ch0rizo
Copy link
Contributor Author

ch0rizo commented Oct 28, 2025

Not sure if we moved away from using vh, but really nice change anyways! Looks much better!

I understand... but don't see what other unit or solution would be good for both mobile and laptop viewport

@ch0rizo ch0rizo merged commit 400fe5d into master Oct 28, 2025
7 checks passed
@ch0rizo ch0rizo deleted the feat-visible-toolbar branch October 28, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-needed Pull requests that need review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants