handesk icon indicating copy to clipboard operation
handesk copied to clipboard

Scrollbars appearing

Open adriahn opened this issue 8 years ago • 6 comments

Good afternoon,

after installing on a clean ubuntu server with php7+apache2 we encounter that the design is a bit akward showing the scrollbars everywhere.

I've tested in all browsers, same result.

handesk-github

Anyone can help? Many thanks

adriahn avatar Feb 13 '18 19:02 adriahn

Yeah it looks weird, in mac the scrollbars are hidden by default, I don’t know if there is a way to make it default, do you?

Jordi Puigdellívol

El 13 febr 2018, a les 20:46, adriahn [email protected] va escriure:

Good afternoon,

after installing on a clean ubuntu server with php7+apache2 we encounter that the design is a bit akward showing the scrollbars everywhere.

I've tested in all browsers, same result.

Anyone can help? Many thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

BadChoice avatar Feb 13 '18 19:02 BadChoice

So... I guess is bootstrap/css related, as in my ipad I don't see any scrollbar... right?

adriahn avatar Feb 14 '18 08:02 adriahn

It is not using bootstrap, but yeah, looks like something CSS related

Jordi Puigdellívol

El 14 de febrero de 2018 a las 9:25:53, adriahn ([email protected]) escribió:

So... I guess is bootstrap/css related, as in my ipad I don't see any scrollbar... right?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BadChoice/handesk/issues/97#issuecomment-365529996, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFuzDiZlWjrW-_i8NeVAuYI5btfK6SYks5tUpiQgaJpZM4SETIF .

BadChoice avatar Feb 14 '18 08:02 BadChoice

@BadChoice massive thanks for replying so quickly!

I was doing some tests, and I've managed to hide it only from chrome adding this to all.css

.sidebar::-webkit-scrollbar{display:none}

edit: I had to put the webkit tag under all areas with scroll, such .sidebar and .content

Reading the only way to hide it from all browsers is putting one container on top of the another with this settings, served as an example.

#container1 { height: 100%; width: 100%; border: 1px solid green; overflow: hidden; position: relative; } #container2 { position: absolute; top: 0px; bottom: 0px; left: 0px; right: -15px; border: 1px solid blue; overflow: auto; }

edit2: http://jsfiddle.net/5GCsJ/2125/

adriahn avatar Feb 14 '18 09:02 adriahn

Sounds good! feel free to send me a PR so I can merge it to the master branch ;)

Encès 14 de febrer de 2018 a 10:17:26, adriahn ([email protected]) va escriure:

@BadChoice https://github.com/badchoice massive thanks for replying so quickly!

I was doing some tests, and I've managed to hide it from chrome adding this to all.css

.sidebar::-webkit-scrollbar{display:none}

Reading the only way to hide it from all browsers is putting one container on top of the another with this settings, served as an example.

#container1 { height: 100%; width: 100%; border: 1px solid green; overflow: hidden; position: relative; } #container2 { position: absolute; top: 0px; bottom: 0px; left: 0px; right: -15px; border: 1px solid blue; overflow: auto; }

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BadChoice/handesk/issues/97#issuecomment-365542548, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFuzAIvJs19enPWveSZc1DNI1eXlPonks5tUqSkgaJpZM4SETIF .

BadChoice avatar Feb 14 '18 14:02 BadChoice

I've created a PR (#102) to remove the scrollbars by setting overflow to auto. This means the nav scrolls vertically as there's more content than space but you don't get the horizontal ones.

edwade3 avatar Feb 28 '18 14:02 edwade3