<p dir="auto">I just updated today and I noticed that my dropdown in my navbar that floats right got moved to the edge. It looks really bad. It used to look like this<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/b7b8555263b2a51375845cd9aade03ab9a1cdf1a47bcf692da422baa79ae074c/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313335303434342f313739373232302f65393134383066342d366162662d313165332d383161642d6665343833393736363137372e504e47"><img src="https://camo.githubusercontent.com/b7b8555263b2a51375845cd9aade03ab9a1cdf1a47bcf692da422baa79ae074c/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313335303434342f313739373232302f65393134383066342d366162662d313165332d383161642d6665343833393736363137372e504e47" alt="fixed" data-canonical-src="https://f.cloud.github.com/assets/1350444/1797220/e91480f4-6abf-11e3-81ad-fe4839766177.PNG" style="max-width: 100%;"></a><br>
And now looks like this.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/235d86a984507156e1462202540351db092fd3256b41c21cc61739d9741bd350/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313335303434342f313739373231392f65346635643966302d366162662d313165332d383232622d6165353536363332386466342e504e47"><img src="https://camo.githubusercontent.com/235d86a984507156e1462202540351db092fd3256b41c21cc61739d9741bd350/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313335303434342f313739373231392f65346635643966302d366162662d313165332d383232622d6165353536363332386466342e504e47" alt="broke" data-canonical-src="https://f.cloud.github.com/assets/1350444/1797219/e4f5d9f0-6abf-11e3-822b-ae5566328df4.PNG" style="max-width: 100%;"></a></p>
<p dir="auto">There are two things I have found that fixes it but I don;t think they are the correct ways.<br>
In this piece of css if i turn off the padding-right, it is fixed.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".navbar-fixed-top .navbar-collapse, .navbar-static-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
    padding-left: 0;
    padding-right: 0; }"><pre class="notranslate"><code class="notranslate">.navbar-fixed-top .navbar-collapse, .navbar-static-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
    padding-left: 0;
    padding-right: 0; }
</code></pre></div>
<p dir="auto">Or in this piece if i turn off the margin-right.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".navbar-nav.navbar-right:last-child {
    margin-right: -15px; }"><pre class="notranslate"><code class="notranslate">.navbar-nav.navbar-right:last-child {
    margin-right: -15px; }
</code></pre></div>
<p dir="auto">So what's the deal? Should there be another selector like .navbar-nav.navbar-right:last-child.dropdown{margin-right:0}? Because I know that if the last right child isn't a dropdown it needs that.</p>
<p dir="auto">Or why does everything in a fixed-top collapsable navbar inherit padding-right:0?</p>
<p dir="auto">The navbar right padding is broken when using navbar-fixed-top with Bootstrap 3.0.3.<br>
Was working fine with Bootstrap 3.0.2.</p>
<p dir="auto">navbar-static-top and navbar-fixed-bottom are probably impacted too.</p>
<p dir="auto">Live example: <a href="http://plnkr.co/edit/zn1Pc0?p=preview" rel="nofollow">http://plnkr.co/edit/zn1Pc0?p=preview</a></p>
<p dir="auto">With navbar-fixed-top:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/d88857b2752f9c8c13dc7235ccc85d4c317994d715a6900918d09174f2c0f3ac/687474703a2f2f7333302e706f7374696d672e6f72672f716871743134306b682f53637265656e5f53686f745f323031335f31325f30385f61745f355f33325f30375f504d2e706e67"><img src="https://camo.githubusercontent.com/d88857b2752f9c8c13dc7235ccc85d4c317994d715a6900918d09174f2c0f3ac/687474703a2f2f7333302e706f7374696d672e6f72672f716871743134306b682f53637265656e5f53686f745f323031335f31325f30385f61745f355f33325f30375f504d2e706e67" alt="With navbar-fixed-top" data-canonical-src="http://s30.postimg.org/qhqt140kh/Screen_Shot_2013_12_08_at_5_32_07_PM.png" style="max-width: 100%;"></a></p>
<p dir="auto">Without navbar-fixed-top:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/b9f744b05105f2e81a1bd31025d9ece20d875ef7476f42a813a9f592dcdfe4fd/687474703a2f2f7333302e706f7374696d672e6f72672f796272656d693864642f53637265656e5f53686f745f323031335f31325f30385f61745f355f33325f33305f504d2e706e67"><img src="https://camo.githubusercontent.com/b9f744b05105f2e81a1bd31025d9ece20d875ef7476f42a813a9f592dcdfe4fd/687474703a2f2f7333302e706f7374696d672e6f72672f796272656d693864642f53637265656e5f53686f745f323031335f31325f30385f61745f355f33325f33305f504d2e706e67" alt="Without navbar-fixed-top" data-canonical-src="http://s30.postimg.org/ybremi8dd/Screen_Shot_2013_12_08_at_5_32_30_PM.png" style="max-width: 100%;"></a></p>
<p dir="auto">The issue is most probably related to this commit: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/twbs/bootstrap/commit/5a0365524d8a190c718bcb4950c423c9bef75bd9/hovercard" href="https://github.com/twbs/bootstrap/commit/5a0365524d8a190c718bcb4950c423c9bef75bd9"><tt>5a03655</tt></a></p>
<p dir="auto">Version 3.0.3 contains <a href="https://github.com/twbs/bootstrap/blob/v3.0.3/less/navbar.less#L80">the following code</a>:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="    // Undo the collapse side padding for navbars with containers to ensure
    // alignment of right-aligned contents.
    .navbar-fixed-top &amp;,
    .navbar-static-top &amp;,
    .navbar-fixed-bottom &amp; {
      padding-left: 0;
      padding-right: 0;
    }"><pre class="notranslate">    <span class="pl-c">// Undo the collapse side padding for navbars with containers to ensure</span>
    <span class="pl-c">// alignment of right-aligned contents.</span>
    <span class="pl-kos">.</span><span class="pl-s1">navbar</span><span class="pl-c1">-</span><span class="pl-s1">fixed</span><span class="pl-c1">-</span><span class="pl-s1">top</span> <span class="pl-c1">&amp;</span><span class="pl-kos">,</span>
    <span class="pl-kos">.</span><span class="pl-c1">navbar</span><span class="pl-c1">-</span><span class="pl-s1">static</span><span class="pl-c1">-</span><span class="pl-s1">top</span> <span class="pl-c1">&amp;</span><span class="pl-kos">,</span>
    <span class="pl-kos">.</span><span class="pl-c1">navbar</span><span class="pl-c1">-</span><span class="pl-s1">fixed</span><span class="pl-c1">-</span><span class="pl-s1">bottom</span> <span class="pl-c1">&amp;</span> <span class="pl-kos">{</span>
      <span class="pl-s1">padding</span><span class="pl-c1">-</span><span class="pl-c1">left</span>: <span class="pl-c1">0</span><span class="pl-kos"></span><span class="pl-kos">;</span>
      <span class="pl-s1">padding</span><span class="pl-c1">-</span><span class="pl-s1">right</span>: <span class="pl-c1">0</span><span class="pl-kos">;</span>
    <span class="pl-kos">}</span></pre></div>
<p dir="auto">3.0.2 <a href="https://github.com/twbs/bootstrap/blob/v3.0.2/less/navbar.less#L80">does not</a>.</p>