]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
tweak the position of the fixed to top/bottom navbars to remove double border
authorTom Pietschker <tom.pietschker@acmetechnologygroup.com>
Tue, 19 Feb 2013 19:50:44 +0000 (14:50 -0500)
committerTom Pietschker <tom.pietschker@acmetechnologygroup.com>
Tue, 19 Feb 2013 19:50:44 +0000 (14:50 -0500)
docs/components.html

index 6c8950e0ae9bf641f720d983a975d7f7920c958b..bcca741359aab5454031c13a4dc17c266df3a74f 100644 (file)
@@ -870,7 +870,7 @@ title: Components
           <h3>Fixed to top</h3>
           <p>Add <code>.navbar-fixed-top</code> and remember to account for the hidden area underneath it by adding at least 40px <code>padding</code> to the <code>&lt;body&gt;</code>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.</p>
           <div class="bs-docs-example bs-navbar-top-example">
-            <div class="navbar navbar-fixed-top" style="position: absolute;">
+            <div class="navbar navbar-fixed-top" style="position: absolute; top: -1px;">
               <div class="container" style="width: auto;">
                 <a class="navbar-brand" href="#">Title</a>
                 <ul class="nav">
@@ -890,7 +890,7 @@ title: Components
           <h3>Fixed to bottom</h3>
           <p>Add <code>.navbar-fixed-bottom</code> instead.</p>
           <div class="bs-docs-example bs-navbar-bottom-example">
-            <div class="navbar navbar-fixed-bottom" style="position: absolute;">
+            <div class="navbar navbar-fixed-bottom" style="position: absolute;; bottom: -1px;">
               <div class="container" style="width: auto;">
                 <a class="navbar-brand" href="#">Title</a>
                 <ul class="nav">