Created
August 24, 2013 04:09
-
-
Save aamax/6326004 to your computer and use it in GitHub Desktop.
bootstrap menu expanding under page contents when page is small (responsive design issue) not sure why but if i make the page small and then click on the button that accesses the collapsed menu, the menu expands but does not push the page contents down, it just renders below the existing page contents.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html ng-app="mthosts"> | |
<head> | |
<title>mysite<%= @title.nil? ? "" : " | #{@title}" %></title> | |
<%= stylesheet_link_tag "application", :media => "all" %> | |
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet"> | |
<link href="//netdna.bootstrapcdn.com//twitter-bootstrap/2.3.1/css/bootstrap-responsive.min.css" rel="stylesheet"> | |
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet"> | |
<%= javascript_include_tag "application" %> | |
<%= include_gon %> | |
<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script> | |
<%= csrf_meta_tags %> | |
<%= favicon_link_tag 'logo.jpg' %> | |
</head> | |
<body> | |
<header> | |
<%= render :partial => '/layouts/menu' %> | |
<%= render :partial => '/layouts/header' %> | |
</header> | |
<div class='container'> | |
<% if flash.alert %> | |
<div class="container-fluid"> | |
<div class="alert alert-error"> | |
<a class="close" data-dismiss="alert">×</a> | |
<%= flash.alert %> | |
</div> | |
</div> | |
<% end %> | |
<% if flash.notice %> | |
<div class="container-fluid flash_notice"> | |
<div class="alert alert-success"> | |
<a class="close" data-dismiss="alert">×</a> | |
<%= flash.notice %> | |
</div> | |
</div> | |
<% end %> | |
<div class='main_body'> | |
<%= yield %> | |
</div> | |
</div> | |
<%= render :partial => '/layouts/footer' %> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="assets/mypic.jpg" alt="a home page pic" class="banner_pic"/> | |
<div class="hero-unit public_hero"> | |
<h2>Welcome To The Website!</h2> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment