mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-25 06:21:26 +02:00
introduce .fill class to top-nav for overflow bug
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user