Skip to content
Browse files

cleanup

  • Loading branch information...
1 parent e4004ef commit db8895316f6d60328afd8b0df044e1a3f0dc02af @saschadube saschadube committed Mar 8, 2014
Showing with 14 additions and 8 deletions.
  1. +6 −0 src/less/modal.less
  2. +8 −8 src/tests/addons/placeholder.html
View
6 src/less/modal.less
@@ -218,6 +218,12 @@
.hook-modal-scrollable-box;
}
+/*
+ * Remove margin from the last-child
+ */
+
+.uk-modal-scrollable-box > :last-child { margin-bottom: 0; }
+
// Hooks
// ========================================================================
View
16 src/tests/addons/placeholder.html
@@ -15,22 +15,22 @@
<h1>Placeholder</h1>
- <div class="uk-placeholder uk-text-center uk-vertical-align">
- <div class="uk-vertical-align-middle"><i class="uk-icon-cloud-upload uk-icon-medium uk-text-muted uk-margin-small-right"></i> Attach binaries by dropping them here or selecting one</div>
+ <div class="uk-placeholder uk-text-center">
+ <i class="uk-icon-cloud-upload uk-icon-medium uk-text-muted uk-margin-small-right"></i> Attach binaries by dropping them here or selecting one
</div>
- <div class="uk-placeholder uk-text-center uk-vertical-align">
- <div class="uk-vertical-align-middle"><i class="uk-icon-cloud-upload uk-icon-large uk-text-muted"></i></div>
+ <div class="uk-placeholder uk-text-center">
+ <i class="uk-icon-cloud-upload uk-icon-large uk-text-muted"></i>
</div>
<h2>Large</h2>
- <div class="uk-placeholder uk-placeholder-large uk-text-center uk-vertical-align">
- <div class="uk-vertical-align-middle"><i class="uk-icon-cloud-upload uk-icon-medium uk-text-muted uk-margin-small-right"></i> Attach binaries by dropping them here or selecting one</div>
+ <div class="uk-placeholder uk-placeholder-large uk-text-center">
+ <i class="uk-icon-cloud-upload uk-icon-medium uk-text-muted uk-margin-small-right"></i> Attach binaries by dropping them here or selecting one
</div>
- <div class="uk-placeholder uk-placeholder-large uk-text-center uk-vertical-align">
- <div class="uk-vertical-align-middle"><i class="uk-icon-cloud-upload uk-icon-large uk-text-muted"></i></div>
+ <div class="uk-placeholder uk-placeholder-large uk-text-center">
+ <i class="uk-icon-cloud-upload uk-icon-large uk-text-muted"></i>
</div>
</div>

0 comments on commit db88953

Please sign in to comment.
Something went wrong with that request. Please try again.