diff --git a/src/pobsync_backend/templates/pobsync_backend/base.html b/src/pobsync_backend/templates/pobsync_backend/base.html index 7a343fe..7764651 100644 --- a/src/pobsync_backend/templates/pobsync_backend/base.html +++ b/src/pobsync_backend/templates/pobsync_backend/base.html @@ -304,17 +304,22 @@ } .inline-form { margin: 0; } .dashboard-priority-grid { + align-items: start; display: grid; gap: 14px; - grid-template-columns: minmax(280px, 1.25fr) repeat(3, minmax(220px, 1fr)); + grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; } .priority-panel { display: grid; gap: 12px; margin-bottom: 0; + min-width: 0; + } + .priority-panel > h2:first-child { + flex-wrap: wrap; + margin-bottom: 0; } - .priority-panel > h2:first-child { margin-bottom: 0; } .action-list, .activity-list, .schedule-list { @@ -404,6 +409,14 @@ gap: 2px; min-width: 0; } + .action-row strong, + .action-row .muted, + .activity-row strong, + .activity-row .muted, + .schedule-row strong, + .schedule-row .muted { + overflow-wrap: anywhere; + } .schedule-time { justify-items: end; text-align: right; @@ -436,6 +449,10 @@ justify-content: space-between; padding-top: 8px; } + .storage-priority-facts strong { + text-align: right; + overflow-wrap: anywhere; + } .host-control-grid { display: grid; gap: 14px; @@ -623,7 +640,7 @@ .host-card-timeline { display: grid; gap: 16px 22px; - grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); + grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } .host-card-stats { align-content: start; @@ -649,6 +666,10 @@ .host-card-item .value { overflow-wrap: anywhere; } + .host-card-item .value a { + overflow-wrap: anywhere; + word-break: break-word; + } .host-card-stat { display: grid; gap: 3px; @@ -778,6 +799,18 @@ .host-card-stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } .insight-grid { grid-template-columns: 1fr; } } + @media (max-width: 1100px) { + .dashboard-priority-grid { + grid-template-columns: 1fr; + } + .schedule-row { + grid-template-columns: 1fr; + } + .schedule-time { + justify-items: start; + text-align: left; + } + }
diff --git a/src/pobsync_backend/templates/pobsync_backend/dashboard.html b/src/pobsync_backend/templates/pobsync_backend/dashboard.html index 97324f8..830b0ad 100644 --- a/src/pobsync_backend/templates/pobsync_backend/dashboard.html +++ b/src/pobsync_backend/templates/pobsync_backend/dashboard.html @@ -33,7 +33,7 @@ {% endif %}