From a88aabc2c7a4afd0a050cc75053ea1861798d94b Mon Sep 17 00:00:00 2001 From: Dries Decramer Date: Thu, 15 Jun 2017 13:16:45 +0200 Subject: [PATCH] Better max-width behaviour --- components/dialog/theme.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/dialog/theme.css b/components/dialog/theme.css index a34031b5b..a2b13ce7d 100644 --- a/components/dialog/theme.css +++ b/components/dialog/theme.css @@ -38,7 +38,7 @@ display: flex; flex-direction: column; max-height: 96vh; - max-width: 96vw; + max-width: 90vw; position: absolute; opacity: 0; transform: translateY(var(--dialog-translate-y)); @@ -55,19 +55,19 @@ } .small { - max-width: 400px; + width: 400px; } .medium { - max-width: 540px; + width: 540px; } .large { - max-width: 700px; + width: 700px; } .fullscreen { - width: 96vw; + width: 1300px; @media screen and (--xs-viewport) { border-radius: 0;