louislam / dockge

A fancy, easy-to-use and reactive self-hosted docker compose.yaml stack-oriented manager
https://dockge.kuma.pet
MIT License
13.13k stars 375 forks source link

Useless scrollbar on the Terminal #563

Open RotaN8 opened 4 months ago

RotaN8 commented 4 months ago

⚠️ Please verify that this bug has NOT been reported before.

🛡️ Security Policy

Description

I have found a possible error with the CSS of Dockge Web UI:

https://github.com/louislam/dockge/blob/109222f0248e17935db439d2db0eb421194007da/frontend/src/components/Terminal.vue#L250

👟 Reproduction steps

It's always present.

👀 Expected behavior

20240707_22h53m59s_grim 20240707_22h54m32s_grim

As you can see at the image when the overflow-x: scroll is NOT present the useless scrollbar disappears.

😓 Actual Behavior

20240707_22h51m25s_grim 20240707_22h52m43s_grim

As you can see at the image when the overflow-x: scroll is present a useless scrollbar appears at the right.

Dockge Version

1.4.2

💻 Operating System and Arch

ArchLinux x64

🌐 Browser

Brave 1.67.123 (Chromium: 126.0.6478.126) (Official Build) (64-bit)

🐋 Docker Version

Docker version 27.0.3

🟩 NodeJS Version

No response

📝 Relevant log output

No response