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(automations): full-bleed tab-group header to match WordPress/Domains

Juan Denis801fe3bbf68a
diff --git a/builtin-extensions/serverkit-tramo/frontend/components/AutomationsPage.jsx b/builtin-extensions/serverkit-tramo/frontend/components/AutomationsPage.jsx
index 5148b989..f4700bfe 100644
--- a/builtin-extensions/serverkit-tramo/frontend/components/AutomationsPage.jsx
+++ b/builtin-extensions/serverkit-tramo/frontend/components/AutomationsPage.jsx
@@ -679,7 +679,7 @@ const AutomationsPage = () => {
}
return (
- <div className="page-container tramo-page">
+ <div className="page-container page-container--full-bleed sk-tabgroup tramo-page">
<PageTopbar
icon={<Workflow size={18} />}
title="Automations"
@@ -687,9 +687,11 @@ const AutomationsPage = () => {
actions={topbarActions}
/>
- {activeTab === 'workflows' && renderWorkflows()}
- {activeTab === 'runs' && renderRuns()}
- {activeTab === 'settings' && renderSettings()}
+ <div className="sk-tabgroup__content">
+ {activeTab === 'workflows' && renderWorkflows()}
+ {activeTab === 'runs' && renderRuns()}
+ {activeTab === 'settings' && renderSettings()}
+ </div>
{/* New workflow modal */}
<Modal open={newModal} onClose={() => setNewModal(false)} title="New workflow">
diff --git a/frontend/src/plugins/serverkit-tramo/components/AutomationsPage.jsx b/frontend/src/plugins/serverkit-tramo/components/AutomationsPage.jsx
index 5148b989..f4700bfe 100644
--- a/frontend/src/plugins/serverkit-tramo/components/AutomationsPage.jsx
+++ b/frontend/src/plugins/serverkit-tramo/components/AutomationsPage.jsx
@@ -679,7 +679,7 @@ const AutomationsPage = () => {
}
return (
- <div className="page-container tramo-page">
+ <div className="page-container page-container--full-bleed sk-tabgroup tramo-page">
<PageTopbar
icon={<Workflow size={18} />}
title="Automations"
@@ -687,9 +687,11 @@ const AutomationsPage = () => {
actions={topbarActions}
/>
- {activeTab === 'workflows' && renderWorkflows()}
- {activeTab === 'runs' && renderRuns()}
- {activeTab === 'settings' && renderSettings()}
+ <div className="sk-tabgroup__content">
+ {activeTab === 'workflows' && renderWorkflows()}
+ {activeTab === 'runs' && renderRuns()}
+ {activeTab === 'settings' && renderSettings()}
+ </div>
{/* New workflow modal */}
<Modal open={newModal} onClose={() => setNewModal(false)} title="New workflow">