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(services): center the Events tab empty-state icon

Juan Denis6fb0454ac6ba
diff --git a/frontend/src/styles/pages/_service-detail.scss b/frontend/src/styles/pages/_service-detail.scss
index 8ed81d21..9b19a388 100644
--- a/frontend/src/styles/pages/_service-detail.scss
+++ b/frontend/src/styles/pages/_service-detail.scss
@@ -557,13 +557,19 @@ h3.svc-eyebrow {
}
&__empty {
+ // Flex-center so the icon centers too — svgs are display:block (Tailwind
+ // preflight), so text-align:center alone left-aligns the glyph.
+ display: flex;
+ flex-direction: column;
+ align-items: center;
text-align: center;
+ gap: $space-2;
padding: $space-12 $space-8;
color: $text-tertiary;
h3 {
color: $text-secondary;
- margin-bottom: $space-2;
+ margin: 0;
}
}
}