Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

feat(ui): restore top padding on the Docker page

Juan Denisb0f3e8b9efc0
diff --git a/frontend/src/styles/pages/_docker.scss b/frontend/src/styles/pages/_docker.scss
index 13375ba5..a16cf4be 100644
--- a/frontend/src/styles/pages/_docker.scss
+++ b/frontend/src/styles/pages/_docker.scss
@@ -615,6 +615,15 @@
// Docker Unavailable State
.docker-page {
+ // /docker is a full-page route, so .main-content drops its padding. Unlike
+ // the workspace branch, this state has no shell of its own, so restore the
+ // standard route padding or the header sits flush against the viewport top.
+ padding: $space-10;
+
+ @media (max-width: $breakpoint-md) {
+ padding: $space-5;
+ }
+
.page-header {
margin-bottom: $space-6;
@@ -1726,7 +1735,10 @@
// Docker workspace polish: File Manager-style rail + click-open details drawer
.docker-page-new.dx-page {
- padding: $space-3;
+ // Full-bleed zeroes out .main-content's padding, and the page-header is
+ // hidden, so without this the workbar hugs the viewport top. Give it the
+ // same breathing room other routes get from .main-content.
+ padding: $space-6 $space-5 $space-5;
gap: $space-3;
background: transparent;