remove padding on specific rows on mobile devices

This commit is contained in:
Andreas N 2015-02-05 15:17:15 +01:00
parent 66607a1eae
commit cde8d8a30f
3 changed files with 10 additions and 3 deletions

View File

@ -100,4 +100,11 @@ body {
.j2-navbar { .j2-navbar {
margin-bottom: 0px; margin-bottom: 0px;
}
@media (max-width: $screen-xs-max) {
.j2-col-reset {
padding-left: 0px;
padding-right: 0px;
}
} }

View File

@ -3,7 +3,7 @@
.container.j2-page .container.j2-page
.col-md-3.col-sm-3 .col-md-3.col-sm-3
= render 'shared/sidebar' = render 'shared/sidebar'
.col-md-9.col-xs-12.col-sm-9 .col-md-9.col-xs-12.col-sm-9.j2-col-reset
= render 'layouts/messages' = render 'layouts/messages'
#timeline #timeline

View File

@ -1,9 +1,9 @@
.profile--header .profile--header
.container.j2-page .container.j2-page
.col-md-3.col-xs-12.col-sm-4 .col-md-3.col-xs-12.col-sm-4.j2-col-reset
= render 'user/profile_info' = render 'user/profile_info'
.hidden-xs= render 'shared/links' .hidden-xs= render 'shared/links'
.col-md-9.col-xs-12.col-sm-8 .col-md-9.col-xs-12.col-sm-8.j2-col-reset
= render 'shared/questionbox' = render 'shared/questionbox'
#answers #answers
- @answers.each do |a| - @answers.each do |a|