fix sidebar width change during toggling between tabs.

This commit is contained in:
2026-06-24 17:09:06 +03:30
parent 740f6d9cc9
commit db4803d463
4 changed files with 4 additions and 4 deletions

View File

@@ -66,7 +66,7 @@ export function TreatmentPreviewDialog({
return (
<div className="fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50">
<div
className="w-full max-w-[min(56rem,calc(100vw-17rem))] max-h-[90vh] overflow-y-auto rounded-[var(--radius-md)] border border-border bg-background-secondary p-6 shadow-xl space-y-4"
className="w-full max-w-[min(56rem,calc(100vw-15rem))] max-h-[90vh] overflow-y-auto rounded-[var(--radius-md)] border border-border bg-background-secondary p-6 shadow-xl space-y-4"
role="dialog"
aria-modal="true"
aria-labelledby="treatment-preview-title"