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.

fix(settings): make settings sub-nav items fill the column width

Juan Denis429e6ef344e8
diff --git a/frontend/src/styles/pages/_service-detail.scss b/frontend/src/styles/pages/_service-detail.scss
index 412d9ab4..1a8659ed 100644
--- a/frontend/src/styles/pages/_service-detail.scss
+++ b/frontend/src/styles/pages/_service-detail.scss
@@ -763,6 +763,8 @@ h3.svc-eyebrow {
&__navitem {
display: flex;
+ width: 100%; // fill the nav column — a flex <button> otherwise shrinks
+ // to its label, so each item's box was a different width
align-items: center;
gap: 9px;
padding: 9px 12px;
diff --git a/frontend/src/styles/pages/_wordpress.scss b/frontend/src/styles/pages/_wordpress.scss
index d1760ca1..fe493c6e 100644
--- a/frontend/src/styles/pages/_wordpress.scss
+++ b/frontend/src/styles/pages/_wordpress.scss
@@ -689,6 +689,8 @@
.wp-settings__navitem {
display: flex;
+ width: 100%; // fill the nav column — a flex <button> otherwise shrinks
+ // to its label, so each item's box was a different width
align-items: center;
gap: 9px;
padding: 9px 12px;