introduce .fill class to top-nav for overflow bug
This commit is contained in:
parent
1d96417201
commit
b18e76f990
6 changed files with 58 additions and 27 deletions
|
|
@ -223,6 +223,9 @@ div.topbar-wrapper div.topbar {
|
|||
margin: 0 -20px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
div.topbar-wrapper div.topbar .fill {
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
<body onload="prettyPrint();">
|
||||
|
||||
<div class="topbar">
|
||||
<div class="fill"></div>
|
||||
<div class="container">
|
||||
<h3><a href="#">Bootstrap</a></h3>
|
||||
<ul>
|
||||
|
|
@ -879,6 +880,7 @@
|
|||
<h2>Fixed topbar</h2>
|
||||
<div class="topbar-wrapper" style="z-index: 5;">
|
||||
<div class="topbar">
|
||||
<div class="fill"></div>
|
||||
<div class="container fixed">
|
||||
<h3><a href="#">Project Name</a></h3>
|
||||
<ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue