diff --git a/src/app/styles/pages-styles.scss b/src/app/styles/pages-styles.scss index 18f9eee..d1f8674 100644 --- a/src/app/styles/pages-styles.scss +++ b/src/app/styles/pages-styles.scss @@ -84,14 +84,12 @@ &.total-checks, &.total-files { - display: grid; - grid-template-columns: 1fr 1.5fr; + display: flex; + justify-content: center; gap: 0 10px; .protection-stat-value { - justify-self: end; padding-right: 10px; - padding-left: 10px; } .protection-stat-label { @@ -103,6 +101,18 @@ } } + &.total-files { + flex-direction: row; + } + + &.total-checks { + flex-direction: column; + + div { + width: 110px; + } + } + &.total-files.add-content { display: flex; justify-content: center; @@ -249,7 +259,8 @@ justify-content: start; padding-left: 20px; font-weight: 500; - border-left: 1px solid v.$b-color-1;; + border-left: 1px solid v.$b-color-1; + ; .icon { margin-right: 10px; @@ -269,11 +280,13 @@ } &.last-column { - border-right: 1px solid v.$b-color-1;; + border-right: 1px solid v.$b-color-1; + ; } &.last-row { - border-bottom: 1px solid v.$b-color-1;; + border-bottom: 1px solid v.$b-color-1; + ; } &.second-row { diff --git a/src/app/ui/dashboard/protection-overview.tsx b/src/app/ui/dashboard/protection-overview.tsx index 6ae0c98..da7b402 100644 --- a/src/app/ui/dashboard/protection-overview.tsx +++ b/src/app/ui/dashboard/protection-overview.tsx @@ -132,25 +132,28 @@ export default function ProtectionOverview() { {filesInfo?.totalCount ? ( <>
{t('current-status-of')}