From ca473d868473898fb2e669fc3e19b1035a775cd0 Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 6 Mar 2015 12:32:17 -0500 Subject: [PATCH] Fixes #1920, mobile actions evaluates to negative padding causing rule to be omitted --- src/definitions/modules/modal.less | 1 + src/themes/default/modules/modal.variables | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/definitions/modules/modal.less b/src/definitions/modules/modal.less index cce861ed6..56c811f82 100755 --- a/src/definitions/modules/modal.less +++ b/src/definitions/modules/modal.less @@ -250,6 +250,7 @@ box-shadow: none; } + /* Let Buttons Stack */ .ui.modal > .actions { padding: @mobileActionPadding !important; } diff --git a/src/themes/default/modules/modal.variables b/src/themes/default/modules/modal.variables index 1c8d6fe73..87127de30 100644 --- a/src/themes/default/modules/modal.variables +++ b/src/themes/default/modules/modal.variables @@ -70,7 +70,7 @@ @mobileContentPadding: 1rem; @mobileImagePadding: 0rem 0rem 1rem; @mobileDescriptionPadding: 1rem 0rem ; -@mobileButtonDistance: 2rem; +@mobileButtonDistance: 1rem; @mobileActionPadding: 1rem 1rem (1rem - @mobileButtonDistance); @mobileImageIconSize: 5rem; @mobileCloseTop: 0.5rem;