Giter VIP home page Giter VIP logo

Comments (11)

 avatar commented on June 17, 2024 2

All the edge cases are fixed! Thank you for all the help @NicoZweifel 🥳

from components.

 avatar commented on June 17, 2024 1

Let's get rid of sticky on the navbar then. I was messing around with it and we could use fixed instead of sticky then we just need margin/padding/a spacer div so the content doesn't show up under the nav bar until the page loads.

from components.

NicoZweifel avatar NicoZweifel commented on June 17, 2024

Another one of those, nice catch :P

from components.

NicoZweifel avatar NicoZweifel commented on June 17, 2024

I had the same issue on the right side in this PR, but decided to use shorter text here.
If you prefer click to copy I could revert to that when changing z-index works, but I feel like it is a bit odd to have the longer version instead of just copy.

from components.

NicoZweifel avatar NicoZweifel commented on June 17, 2024

It seems that this happens only for Grouped Code Blocks because the normal Code Blocks have a top margin.
I am ivestigating this issue here:#44

from components.

 avatar commented on June 17, 2024

@NicoZweifel I tested mint with the new z-index but the backdrop-blur class on the navigation bar is still blurring the component despite the z-index being higher. Seems like the backdrop-blur affects components regardless of z-index. There are other steps required to avoid blurring the tooltip when I searched StackOverflow for this problem.

Can you look into how to get the backdrop-blur not to affect the tooltip?

from components.

NicoZweifel avatar NicoZweifel commented on June 17, 2024

Yeah I can take a look tomorrow 👍

from components.

NicoZweifel avatar NicoZweifel commented on June 17, 2024

When the new components version is published, I can continue and merge this: https://github.com/mintlify/mint/pull/299

from components.

 avatar commented on June 17, 2024

Issue is fixed for most code blocks except for the right-side bar ones that have sticky set.

from components.

NicoZweifel avatar NicoZweifel commented on June 17, 2024

@tobias-mintlify It is because of a new StackingContext. you can read about it here.

"A stacking context is formed, anywhere in the document, by any element in the following scenarios:

  • Root element of the document ().
  • Element with a position value absolute or relative and z-index value other than auto.
  • Element with a position value fixed or sticky (sticky for all mobile browsers, but not older desktop browsers)."

from components.

NicoZweifel avatar NicoZweifel commented on June 17, 2024

Sounds good, I could take a look today/tomorrow.

from components.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.