Browse Source

Fixes #1920, mobile actions evaluates to negative padding causing rule to be omitted

pull/1944/head
jlukic 9 years ago
parent
commit
ca473d8684
2 changed files with 2 additions and 1 deletions
  1. 1
      src/definitions/modules/modal.less
  2. 2
      src/themes/default/modules/modal.variables

1
src/definitions/modules/modal.less

@ -250,6 +250,7 @@
box-shadow: none;
}
/* Let Buttons Stack */
.ui.modal > .actions {
padding: @mobileActionPadding !important;
}

2
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;

Loading…
Cancel
Save