aboutsummaryrefslogtreecommitdiff
path: root/less/responsive.less
diff options
context:
space:
mode:
authorGiuliano Velli <[email protected]>2012-04-20 17:54:51 +0200
committerGiuliano Velli <[email protected]>2012-04-24 17:19:17 +0200
commit4fbb400754986b969b40fc12eacfd332ace1a174 (patch)
treec837b75461b7a430347225dfd20bbc653472545b /less/responsive.less
parent6506ede6323ee60d4d7f8171937d92141a64e09e (diff)
downloadbootstrap-4fbb400754986b969b40fc12eacfd332ace1a174.tar.xz
bootstrap-4fbb400754986b969b40fc12eacfd332ace1a174.zip
Added Medias code and documentation
Fix for Issue #1711 Added media.less and edited bootstrap.less and responsive.less to manage media components. Added a section to the documentation (Media, in components.html) outlining how Medias work. Edited bootstrap.css and bootstrap-responsive.css to add the code for the demos Signed-off-by: Giuliano Velli <[email protected]>
Diffstat (limited to 'less/responsive.less')
-rw-r--r--less/responsive.less14
1 files changed, 14 insertions, 0 deletions
diff --git a/less/responsive.less b/less/responsive.less
index 98485eebd..b72aa90e2 100644
--- a/less/responsive.less
+++ b/less/responsive.less
@@ -106,6 +106,20 @@
padding-left: 10px;
padding-right: 10px;
}
+
+ // Medias
+ .media .pull-left,
+ .media .pull-right {
+ float: none;
+ display: block;
+ margin-bottom: 10px;
+ }
+ .media .pull-left {
+ margin-right: 0;
+ }
+ .media .pull-right {
+ margin-left: 0;
+ }
// Modals
.modal {