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(styles): remove duplicate disk reclaim owner

Juan Denis7cb04576bc19
diff --git a/frontend/src/components/monitoring/DiskReclaimModal.jsx b/frontend/src/components/monitoring/DiskReclaimModal.jsx
index f90d300f..e306fcc3 100644
--- a/frontend/src/components/monitoring/DiskReclaimModal.jsx
+++ b/frontend/src/components/monitoring/DiskReclaimModal.jsx
@@ -7,7 +7,6 @@ import { Button } from '@/components/ui/button';
import { useToast } from '@/contexts/ToastContext';
import { useOperations } from '@/contexts/OperationsContext';
import formatBytes from '@/utils/formatBytes';
-import '@/styles/components/disk-reclaim.scss';
/**
* Curated "safe" disk reclaim. Shows what a fresh measurement says can be
diff --git a/frontend/src/styles/components/disk-reclaim.scss b/frontend/src/styles/components/disk-reclaim.scss
deleted file mode 100644
index d129c4d1..00000000
--- a/frontend/src/styles/components/disk-reclaim.scss
+++ /dev/null
@@ -1,75 +0,0 @@
-// ------------------------------------------------------------
-// Disk reclaim modal (monitoring) — curated safe-cleanup list.
-// Styles for components/monitoring/DiskReclaimModal.jsx.
-//
-// Compiled standalone by Vite (imported from the component, not
-// through main.scss), so design tokens are referenced as CSS
-// custom properties / literal px, never SCSS $variables.
-// ------------------------------------------------------------
-.disk-reclaim {
- &__state {
- margin: 16px 0;
- color: var(--text-dim);
- font-size: 13px;
-
- &--error p {
- margin: 0 0 8px;
- color: var(--red);
- }
- }
-
- &__list {
- list-style: none;
- margin: 0 0 12px;
- padding: 0;
- display: flex;
- flex-direction: column;
- }
-
- &__item {
- display: flex;
- align-items: baseline;
- gap: 8px;
- padding: 8px 0;
- border-bottom: 1px solid var(--border-soft);
-
- &:last-child { border-bottom: none; }
- }
-
- &__item-title {
- flex-shrink: 0;
- font-size: 13px;
- font-weight: 550;
- color: var(--text);
- }
-
- &__item-detail {
- flex: 1;
- min-width: 0;
- font-size: 12px;
- color: var(--text-faint);
- }
-
- &__item-size {
- font-family: var(--mono);
- font-size: 12px;
- color: var(--text);
- }
-
- &__total {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding-top: 12px;
- border-top: 1px solid var(--border-strong);
- font-size: 13px;
- color: var(--text-dim);
- }
-
- &__total-size {
- font-family: var(--mono);
- font-size: 14px;
- font-weight: 600;
- color: var(--text);
- }
-}