aws-extend-switch-roles icon indicating copy to clipboard operation
aws-extend-switch-roles copied to clipboard

Set height on nested elements to avoid mutliple scrollbars

Open fleaz opened this issue 2 years ago • 6 comments

Hey,

even with the latest version I was still struggling with #180 even on different screens and resolutions so I decided to create a small PR to make this awesome extension a tiny bit better :)

Best, Felix

Before

After

fleaz avatar Jul 20 '21 09:07 fleaz

@fleaz Could you tell me your OS and browser, screen scaling percent?

tilfin avatar Jul 20 '21 13:07 tilfin

OS: Arch Linux Browser: Chromium 91 Screen: 4K Scaling: Between 1,3x and 1,5x

fleaz avatar Jul 20 '21 16:07 fleaz

@fleaz I didn't reproduce this situation in my environment.

Scaling: Between 1,3x and 1,5x

Can you tell me how to set this up?

tilfin avatar Jul 25 '21 13:07 tilfin

I just talked to a colleague of mine who also uses this plugin and also has this issue and we found the root cause of this :)

This happens when you go to Settings -> Apperance and configure a Page Zoom higher than 100% (Mine was e.g. on 125% because I run a highDPI display and want things to be a bit bigger). In contrast to the normal zooming on a website with Ctrl+ +/- which only changes the page ocntent, the PageZoom you configure in the settings also has an effect on your browser extensions which causes the double scrollbar issue.

fleaz avatar Jul 26 '21 07:07 fleaz

@fleaz Thank you, I could recoginize it.

tilfin avatar Aug 07 '21 05:08 tilfin

Hmm, the height is not automatically expanded in my Windows environment. image

tilfin avatar Aug 15 '21 04:08 tilfin