Skip to content

Commit

Permalink
Fix mobile horizontal scroll bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Jan 4, 2012
1 parent a889b40 commit f2b1ee6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -61,7 +61,7 @@ gem "unicorn"
# 用于组合小图片
gem "sprite-factory", "1.4.1"
# 分享功能
gem "social-share-button", "~> 0.0.1"
gem "social-share-button", "~> 0.0.3"
# Simple form last commit: 2011-12-03
gem 'simple_form', :git => "git://github.com/plataformatec/simple_form.git"
gem 'bootstrap-rails', :require => 'bootstrap-rails', :git => 'git://github.com/xdite/bootstrap-rails.git'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Expand Up @@ -270,7 +270,7 @@ GEM
rack (~> 1.3, >= 1.3.4)
rack-protection (~> 1.1, >= 1.1.2)
tilt (~> 1.3, >= 1.3.3)
social-share-button (0.0.1)
social-share-button (0.0.3)
sprite-factory (1.4.1)
sprockets (2.0.3)
hike (~> 1.2)
Expand Down Expand Up @@ -355,7 +355,7 @@ DEPENDENCIES
sass-rails (~> 3.1.4)
settingslogic (~> 2.0.6)
simple_form!
social-share-button (~> 0.0.1)
social-share-button (~> 0.0.3)
sprite-factory (= 1.4.1)
sunspot_rails (~> 1.3.0)
sunspot_solr
Expand Down
9 changes: 8 additions & 1 deletion app/assets/stylesheets/mobile.scss
Expand Up @@ -17,7 +17,14 @@ body {
a { padding: 10px 6px 11px; }
}
}
.breadcrumb { margin-right:95px;}
.tabs::before, .pills::before, .tabs::after, .pills::after{
display:inline;
}
.breadcrumb {
padding: 7px;
margin-right:95px;
.first { display:none; }
}
.feed_link {
margin-top:-49px;
margin-right:0;
Expand Down

0 comments on commit f2b1ee6

Please sign in to comment.