Note that there are some explanatory texts on larger screens.

plurals
  1. POCan't get alignment right
    primarykey
    data
    text
    <p>This bootstrap accordion is built using AngularJS: <a href="http://jsfiddle.net/Mrbaseball34/c6Lw2/" rel="nofollow noreferrer">http://jsfiddle.net/Mrbaseball34/c6Lw2/</a></p> <pre><code>&lt;div class="accordion-group ng-scope" ng-repeat="program in programs"&gt; &lt;div class="accordion-inner"&gt; &lt;div class="acc_label ng-binding"&gt;The Certified Insurance Counselors Program (CIC)&lt;/div&gt; &lt;div class="pull-right select_links"&gt; &lt;a ng-click="reselect($index)" class="ng-binding"&gt;Select All&lt;/a&gt; | &lt;a ng-disabled="!select_action($index)" ng-click="program.expand=!program.expand" class="ng-binding"&gt;Expand&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;div ng-repeat="topic in program.topics" collapse="!program.expand &amp;amp;&amp;amp; !topic.checked" class="ng-scope collapse" style="height: 0px;"&gt; &lt;div class="accordion-inner"&gt; &lt;label class="checkbox"&gt;&lt;input type="checkbox" value="CIC Agency Management" ng-checked="topic.checked" ng-model="topic.checked" class="ng-pristine ng-valid"&gt;&lt;span class="ng-binding"&gt;CIC Agency Management&lt;/span&gt;&lt;/label&gt; &lt;/div&gt; &lt;/div&gt; &lt;div ng-repeat="topic in program.topics" collapse="!program.expand &amp;amp;&amp;amp; !topic.checked" class="ng-scope collapse" style="height: 0px;"&gt; &lt;div class="accordion-inner"&gt; &lt;label class="checkbox"&gt;&lt;input type="checkbox" value="CIC Commercial Casualty" ng-checked="topic.checked" ng-model="topic.checked" class="ng-pristine ng-valid"&gt;&lt;span class="ng-binding"&gt;CIC Commercial Casualty&lt;/span&gt;&lt;/label&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>But I cannot get the "Select All | Expand" links aligned in the middle of the container. Can any CSS gurus help out?</p> <p>Don't worry about the "Select All | Expand" functionality. I just need the alignment corrected. </p> <p>Also, I'm sorry that the CSS files have to be online vs. embedded in the fiddle.</p> <p>I don't think it was made clear, I wanted the "Select All | Expand" links centered vertically like this:</p> <p><img src="https://i.stack.imgur.com/qJ3zb.png" alt="enter image description here"></p> <p>After changes recommended by @Mohsen:</p> <p><img src="https://i.stack.imgur.com/MkPl8.png" alt="enter image description here"></p> <p>When expanded, it should stay near the group title.</p>
    singulars
    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.
    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