From 8fdc53f4c8125140624da087a2b05b60397e6c7e Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 13 Feb 2022 19:54:26 +0100 Subject: Fix dialog+backdrop --- src/objects/_backdrop.scss | 1 + src/objects/_dialog.scss | 2 ++ 2 files changed, 3 insertions(+) (limited to 'src/objects') diff --git a/src/objects/_backdrop.scss b/src/objects/_backdrop.scss index 34ce46a..ddf4ea0 100644 --- a/src/objects/_backdrop.scss +++ b/src/objects/_backdrop.scss @@ -37,6 +37,7 @@ bottom: 0; left: 0; box-sizing: border-box; + flex-direction: column; padding: fn.dim(--pad-y) fn.dim(--pad-x); background-color: fn.color(--bg); } diff --git a/src/objects/_dialog.scss b/src/objects/_dialog.scss index 22325f4..45af8b6 100644 --- a/src/objects/_dialog.scss +++ b/src/objects/_dialog.scss @@ -25,6 +25,8 @@ grid-template-rows: auto auto 1fr auto; grid-template-areas: 'header' 'rule' 'body' 'footer'; position: relative; + box-sizing: border-box; + width: 100%; max-width: fn.dim(--width-md); margin: 0 auto; padding: fn.dim(--pad-y) fn.dim(--pad-x); -- cgit v1.2.3-70-g09d2