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

Can not scroll the page #7

Open
NePoCz opened this issue Apr 23, 2021 · 3 comments
Open

Can not scroll the page #7

NePoCz opened this issue Apr 23, 2021 · 3 comments

Comments

@NePoCz
Copy link

NePoCz commented Apr 23, 2021

Hi, I recently built and installed your docker plugin for cockpit and everything works great, thanks for that. There is only one small issue - I can not scroll the docker page, so some of my containers are out of view. This happens only on this page, all other pages within my cockpit work fine. I know little about JS, so all I tried was looking through the css scheme, but couldn't find anything that would seem suspicious. Any help would be appreciated

NB: I built your plugin on x64 Debian VM, but using it on armhf raspberry pi OS - I believe this should have no effect on the functionality, due to the way the plugins work, but I could be wrong

@edmondsiu0
Copy link

I ran into a similar issue earlier (#5).
Sadly I didn't find a solution to this annoying problem. :(

@edmondsiu0
Copy link

That bothered me enough and I have found a workaround - it involves modifying the css supplied by the original cockpit installation.
Since we're modifying files created by a package installer, it might cause some issues further down the line when updating packages, so you've been warned.

1. Change directory to where this css is located
# cd /usr/share/cockpit/base1/
2. The file we need to modify is patternfly.css.gz, which is symlink of cockpit.css.gz. Make a copy of this file first.
# cp cockpit.css.gz cockpit.css.gz.original
3. Unzip the file
# gunzip cockpit.css.gz
4. Using your favourite text editor, modify {overflow-y: hidden;} to {overflow-y: visible;}. For me this is located at Line 45, Column 292471.
5. gzip the file again.
# gzip cockpit.css

@mrevjd
Copy link
Contributor

mrevjd commented Dec 17, 2021

Please see #14 as a fix has been included.

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

No branches or pull requests

3 participants