refactor(ServerManager): enhance actions layout and button styling for improved user experience and interaction
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m58s

This commit is contained in:
2026-02-16 22:28:47 +07:00
parent f2c3562000
commit 0935eacd3f
+2 -3
View File
@@ -602,7 +602,7 @@ function ServerManager() {
</span> </span>
} }
actions={ actions={
<> <div className="d-flex flex-wrap align-items-center gap-2">
<PageHeaderActions <PageHeaderActions
loading={loading} loading={loading}
onRefresh={handleRefreshAll} onRefresh={handleRefreshAll}
@@ -612,7 +612,7 @@ function ServerManager() {
onSave={handleSaveChanges} onSave={handleSaveChanges}
disableSave={loading} disableSave={loading}
/> />
<div className="mt-2 d-flex flex-wrap gap-2 justify-content-end"> <span className="vr d-none d-md-inline align-self-center" style={{ minHeight: '1.5rem' }} />
<div className="btn-group" role="group" aria-label="Переключение режимов"> <div className="btn-group" role="group" aria-label="Переключение режимов">
<button <button
className={`btn ${activeTab === 'servers' ? 'btn-primary' : 'btn-outline-primary'}`} className={`btn ${activeTab === 'servers' ? 'btn-primary' : 'btn-outline-primary'}`}
@@ -639,7 +639,6 @@ function ServerManager() {
<IconPlus size={16} className="me-1" /> Добавить <IconPlus size={16} className="me-1" /> Добавить
</button> </button>
</div> </div>
</>
} }
/> />