.metadata-progress-box { display: flex; flex-direction: column; gap: 0.875rem; width: 21.875rem; max-width: 100%; max-height: 60vh; overflow-y: auto; border-radius: 0.4375rem; } ::ng-deep .p-divider-horizontal { margin: 0 !important; padding: 0 !important; } @media (width <= 991px) { .metadata-progress-box { width: min(21.875rem, calc(100vw - 1.3125rem)); max-height: calc(100dvh - 0.875rem); } }