From c9226382dbc21a2869081860a657c831908f8f01 Mon Sep 17 00:00:00 2001 From: Igor Guastalla de Lima Date: Fri, 8 Feb 2019 22:19:30 -0200 Subject: [PATCH 1/2] fix(dialog): add the same after as containers is-dark. --- scss/elements/dialogs.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scss/elements/dialogs.scss b/scss/elements/dialogs.scss index 14853a2..315c065 100644 --- a/scss/elements/dialogs.scss +++ b/scss/elements/dialogs.scss @@ -21,5 +21,16 @@ color: $background-color; background-color: $base-color; border-color: $background-color; + + &::after { + position: absolute; + top: -$border-size * 1.8; + right: -$border-size * 1.8; + bottom: -$border-size * 1.8; + left: -$border-size * 1.8; + z-index: -1; + content: ""; + background-color: $base-color; + } } } From b4db25c9e8cbb5f37d3e9d7da72bd2b3d15f1ad4 Mon Sep 17 00:00:00 2001 From: Igor Guastalla de Lima Date: Fri, 8 Feb 2019 22:25:44 -0200 Subject: [PATCH 2/2] fix(dialog): add the after just when is-dark without is-rounded. --- scss/elements/dialogs.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/elements/dialogs.scss b/scss/elements/dialogs.scss index 315c065..3bb7370 100644 --- a/scss/elements/dialogs.scss +++ b/scss/elements/dialogs.scss @@ -22,7 +22,7 @@ background-color: $base-color; border-color: $background-color; - &::after { + &:not(.is-rounded)::after { position: absolute; top: -$border-size * 1.8; right: -$border-size * 1.8;