-
-
Notifications
You must be signed in to change notification settings - Fork 365
feat: sticky header in series and spotlight. #2366
Conversation
|
✔️ Deploy Preview for koda-nuxt ready! 🔨 Explore the source changes: 869cedb 🔍 Inspect the deploy log: https://app.netlify.com/sites/koda-nuxt/deploys/620e3191c1cd580007de277d 😎 Browse the preview: https://deploy-preview-2366--koda-nuxt.netlify.app |
|
the docs I followed when finishing the task: Table | Buefy. 👇 have sticky position finished table
1. Preview:
Screen.Recording.2022-02-16.at.14.10.48.mov
spotlight_web.mp4
Screen.Recording.2022-02-16.at.14.14.02.mov2. The
|
|
I guess we can also add more results into the series, like bumping it to 200. As there will be lots of collections coming:) |
|
huh, we will ask users to change their settings to use our page? :) you've posted me showing scrollbars, that's not the issue. This is how it should look like, screenshot from https://beta.kodadot.xyz which is |
|
@yangwao the same issue found in https://beta.kodadot.xyz/, there is an empty space left when I resize my window to 25%. and we have pagination for it, so more items may take a long time to load. |
roiLeo
left a comment
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.
I would change $table-sticky-header-height size (default is 300px)
I agree with you, but there is also an outer scrollbar, so we need to scroll back to see what the column name is. is this the expected behavior? |
yes, because you have only 10 items set to show :) |
|
@yangwao Yes, I see 🙈 So any ideas for this issue, just double the table sticky header |
Probably yes. Let's make it responsive please 🥺 I see that sticky prop is cutting height which is unwanted |
Try this on table header: top: 120px;
position: sticky;
background-color: #090909; |
@roiLeo it works well on PC 👍, I will figure out how to do this on mobile. |
on mobile, we don't need sticky header 🥺 |
|
Sorry for misunderstood. Screen.Recording.2022-02-17.at.07.57.14.movThe image is so cute when scrolling, is it allowed? |
|
@yangwao |
|
I will update my forked repo (instead of merging the main branch) and submit a new PR to check if CI works. |
|
New PR still failed, I found the reason for it: The node version is cached by CI (setup-node action), so even if we upgraded it on our codebase, it will still use cached node version 16.13.2 How to fix it? Updated: more simpler and performance related solution: |
roiLeo
left a comment
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.
These css rules will be global, they could break other components. You can try to wrap-them in a component class.
Regarding images overlapping table header have you try something to fix it?
|
@roiLeo got it |
|
pay 100 usd |
|
😍 Perfect, I’ve sent the payout 🪅 Let’s grab another issue and get rewarded! |







Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type
What's new?
Before submitting Pull Request, please make sure:
Optional
Had issue bounty label?
Community participation
Screenshot
see the 1st comment I added below