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

fix(ui): Add query selector to sticky accordion sidebar to the page header #108

Conversation

deadlycoconuts
Copy link
Contributor

@deadlycoconuts deadlycoconuts commented Jul 16, 2024

Context

This PR adds a query selector (see this for more details too) to the new sticky wrapper we're using to stick the accordion sidebar to the bottom of the MLP page header so that it doesn't get hidden behind it:

Before:
ScreenRecording2024-07-16at12 02 49-ezgif com-video-to-gif-converter

After:
ScreenRecording2024-07-16at12 02 02-ezgif com-video-to-gif-converter

@deadlycoconuts deadlycoconuts added the bug Something isn't working label Jul 16, 2024
@deadlycoconuts deadlycoconuts self-assigned this Jul 16, 2024
Copy link

codecov bot commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.14%. Comparing base (41cc54b) to head (14242b8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #108   +/-   ##
=======================================
  Coverage   57.14%   57.14%           
=======================================
  Files          47       47           
  Lines        2443     2443           
=======================================
  Hits         1396     1396           
  Misses        851      851           
  Partials      196      196           
Flag Coverage Δ
api-test 57.14% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@deadlycoconuts deadlycoconuts requested a review from leonlnj July 16, 2024 04:08
@deadlycoconuts deadlycoconuts marked this pull request as ready for review July 16, 2024 04:08
@deadlycoconuts deadlycoconuts changed the title bug(ui): Add query selector to sticky accordion sidebar to the page header fix(ui): Add query selector to sticky accordion sidebar to the page header Jul 16, 2024
Copy link

@leonlnj leonlnj left a comment

Choose a reason for hiding this comment

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

it look me multiple looks to see the diff, thanks for the fix

@deadlycoconuts
Copy link
Contributor Author

Ahaha, merging this now! Thanks for the quick review!

@deadlycoconuts deadlycoconuts merged commit a234b6b into caraml-dev:main Jul 17, 2024
10 checks passed
@deadlycoconuts deadlycoconuts deleted the fix_sticky_accordion_sidebar_at_header branch July 19, 2024 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants