Note that there are some explanatory texts on larger screens.

plurals
  1. POCSS overlaping until first click
    primarykey
    data
    text
    <p>I'm working on a web application front-end and I have this issue. First time I load the page, I have this <a href="http://cl.ly/image/1E131w1K2J0m" rel="nofollow">http://cl.ly/image/1E131w1K2J0m</a></p> <p>Once I make a click over it, the styles looks fine <a href="http://cl.ly/image/0N440S1b1B1H" rel="nofollow">http://cl.ly/image/0N440S1b1B1H</a></p> <p>This applications is made using angular.js</p> <p>This is the code</p> <pre><code>&lt;div class="dropdown changeOutput pull-left"&gt; &lt;a class="dropdown-toggle btn" data-toggle="dropdown"&gt;{{aqQuery.selectedUnit.label | metricName}} &lt;b class="caret"&gt;&lt;/b&gt;&lt;/a&gt; &lt;ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"&gt; &lt;li ng-repeat="unit in aqQuery.availableUnits"&gt; &lt;a ng-class="{active: aqQuery.selectedUnit.unit == unit.unit}" ng-click="select(unit)"&gt;{{unit.label}}&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </code></pre> <p>And this is the CSS</p> <pre><code>.changeOutput &gt; a, .report-btn &gt; a, .calendar-btn &gt; a { background: none; border: none; box-shadow: none; color: #333; font-weight: bold; margin-top: 4px; padding: 6px; text-shadow: none; text-transform: uppercase; font-size: 13px; } .changeOutput &gt; a .caret, .report-btn &gt; a .caret{ margin: 6px 0 0 2px; } .changeOutput li a.active { color: #0088cc; } .changeOutput li a.active:hover { color: #ffffff; } .changeOutput .monitor-ico { background-position: -160px -1px; } .changeOutput .monitor-ico.active, .changeOutput .monitor-ico:active { background: none; background-image: url(monitor-sprite.png); background-position: -160px -30px; } .changeOutput .monitor-ico:first-child { background-position: -73px -1px; margin-right: 5px; } .changeOutput .monitor-ico:first-child.active, .changeOutput .monitor-ico:first-child:active { background-position: -73px -30px; } </code></pre> <p>Any idea on this problem?</p> <p>Thanks! seba</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload