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

Multiple scrollbars when using many accounts #180

Closed
fleaz opened this issue Oct 8, 2020 · 2 comments · Fixed by #187
Closed

Multiple scrollbars when using many accounts #180

fleaz opened this issue Oct 8, 2020 · 2 comments · Fixed by #187
Labels

Comments

@fleaz
Copy link

fleaz commented Oct 8, 2020

Hey,

first of all, a massive thank you to all the people who made this extension. It's an absolute life saver if you use the AWS console seriously!

I currently use the plugin with 19 accounts, and when I open the extension I have two vertical scrollbars. One in the account list and one in the plugin popup itself. See the following screenshot:

Screenshot_2020-10-08_09:45:41
(Chromium 84, Plugin Version 2.0.5, Arch Linux, 4K Screen, 1.0x scaling)

I fiddled around a bit in the developer console and came up with a fix by giving the outer div of the plugin a height of 100% so it fits inside the popup and then I used column flexbox for the main element (containing the search box and the account list) so they split up the available vertical space. This way the right scrollbar is gone and you only have the one on the left for the account list which is imho the best way to support long account lists. See the following screenshots for my fix and how the result looks:
Screenshot_2020-10-08_09:59:40
Screenshot_2020-10-08_10:10:20

I'm far away from being a web designer, so I don't know if the changes I made have any unwanted side effects or break in other scenarios. But if this looks sane I can give it a shot and submit a proper PR.

Best,
Felix

@tilfin tilfin added the bug label Oct 10, 2020
@tilfin tilfin mentioned this issue Jan 25, 2021
@fleaz
Copy link
Author

fleaz commented Feb 26, 2021

Hey,
for some reasons I still have this issue. The behavirous of the scrollbars didn't changed with 2.0.6 and also now with 2.1, I get the same view as in the screenshot in my first post. Sorry for reporting this so late :/

@tilfin
Copy link
Member

tilfin commented Feb 27, 2021

The roles list HTML and the stylesheets have been changed since v2.0.6. It may be that the font size is affected by the screen scaling, causing the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants