tetragon icon indicating copy to clipboard operation
tetragon copied to clipboard

docs(assets/scss): Remove useless horizontal scrollbar

Open u-damien opened this issue 4 months ago • 4 comments

Description

Added overflow-x: hidden; style to the body element to remove the useless horizontal scrollbar.

Before patch: image

After patch: image

u-damien avatar Oct 17 '25 09:10 u-damien

Deploy Preview for tetragon ready!

Name Link
Latest commit a2d3f929f3d58a35e2689db85049ad9958a3157b
Latest deploy log https://app.netlify.com/projects/tetragon/deploys/68f20a276728730008404d09
Deploy Preview https://deploy-preview-4199--tetragon.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Oct 17 '25 09:10 netlify[bot]

Hello,

I saw that some elements width with 100vw overflow the parent element, I think that's the problem. I might take a look in the following days. For example, in https://tetragon.io/docs/getting-started/ if you change the footer width from 100vw to 100%, it will remove the scrollbar. I tried in the others website paths (didn't worked only with footer) but didn't had the time to check deeper.

u-damien avatar Oct 20 '25 09:10 u-damien

Hello,

I saw that some elements width with 100vw overflow the parent element, I think that's the problem. I might take a look in the following days. For example, in https://tetragon.io/docs/getting-started/ if you change the footer width from 100vw to 100%, it will remove the scrollbar. I tried in the others website paths (didn't worked only with footer) but didn't had the time to check deeper.

If you want to look it up that would be amazing otherwise we can always open an issue for it later on. No pressure.

mtardy avatar Oct 20 '25 09:10 mtardy

I will take a look maybe this week or the next week, yes!

u-damien avatar Oct 20 '25 09:10 u-damien