Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes 10212 - Make custom max-width on row conform to Bootstrap convention #10227

Merged
merged 2 commits into from
Sep 4, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion examples/offcanvas/offcanvas.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
* Style tweaks
* --------------------------------------------------
*/
html {
overflow-x: hidden;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

necessary to prevent unintentional x-scroll on small viewports

}
body {
padding-top: 70px;
}
Expand All @@ -14,7 +17,7 @@ footer {
* Off Canvas
* --------------------------------------------------
*/
@media screen and (max-width: 768px) {
@media screen and (max-width: 767px) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should conform to max-width convention of Bootstrap. row-fluid does not break at 768, it breaks at 767

.row-offcanvas {
position: relative;
-webkit-transition: all 0.25s ease-out;
Expand Down