Skip to content

Commit

Permalink
Improve mobile user experience on pages under /docs (kubernetes#10072)
Browse files Browse the repository at this point in the history
Force #docs #vendorStrip elements to use overflow-x: scroll in CSS.

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
  • Loading branch information
tnir authored and k8s-ci-robot committed Oct 16, 2018
1 parent df90172 commit ad54de4
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,9 @@ section {
margin-left: 0; }

#docs #vendorStrip {
line-height: 44px; }
line-height: 44px;
max-width: 100%;
overflow-x: scroll; }
#docs #vendorStrip ul {
float: none; }
#docs #vendorStrip #searchBox {
Expand Down
2 changes: 2 additions & 0 deletions sass/_base.sass
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,8 @@ section
#docs
#vendorStrip
line-height: 44px
max-width: 100%
overflow-x: scroll

ul
float: none
Expand Down
3 changes: 2 additions & 1 deletion static/css/case-study-styles.css

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion static/css/case-study-styles.css.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion static/css/styles.css

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion static/css/styles.css.map

Large diffs are not rendered by default.

0 comments on commit ad54de4

Please sign in to comment.