From b56ce38527efb409904805b8cefa93e94af011ac Mon Sep 17 00:00:00 2001 From: Olivia206 <olivia.simonet@mmibordeaux.com> Date: Thu, 18 Apr 2024 12:02:11 +0200 Subject: [PATCH] fix modal --- assets/sass/_theme/design-system/layout.sass | 1 + assets/sass/_theme/sections/papers.sass | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/assets/sass/_theme/design-system/layout.sass b/assets/sass/_theme/design-system/layout.sass index d4205042..832eb646 100644 --- a/assets/sass/_theme/design-system/layout.sass +++ b/assets/sass/_theme/design-system/layout.sass @@ -113,6 +113,7 @@ details overflow-y: auto @include media-breakpoint-up(desktop) padding: $spacing-5 + max-height: 90vh width: columns(8) .modal-header margin-bottom: $spacing-2 diff --git a/assets/sass/_theme/sections/papers.sass b/assets/sass/_theme/sections/papers.sass index 38c4af88..08875e03 100644 --- a/assets/sass/_theme/sections/papers.sass +++ b/assets/sass/_theme/sections/papers.sass @@ -47,9 +47,6 @@ width: columns(2) figure width: columns(3) - > div:first-of-type - .modal-content - width: columns(7) .papers__page @include media-breakpoint-down(desktop) .document-content -- GitLab