angularjs - Long text and responsiveness of Angular UI accordion headers -


so playing angular bootstrap directives , trying implement accordion control, info showing @ right part of each header.

<accordion-heading>     text here, on left side of header.      <div class="pull-right">         <span>1st info</span>         <span>2nd info</span>         <span>maybe 3rd?</span>     </div>                 </accordion-heading> 

here's simplified plunkr: http://plnkr.co/edit/3y0rq1?p=preview

this shows on medium large screens on smaller ones, infos go under header's line, , in cases, scramble left text.

i'm sure there css trick make scenerio right, expanding borders of header in smaller screens, cannot figure out.

help, please?

you can way, add table 2 columns in head. first column has data = "some text here, on left side of header." , second column has data = "1st info 2nd info maybe 3rd?"

  <table>     <tr>       <td>         text here, on left side of header.       </td>       <td>         <div>           <span>1st info</span>           <span>2nd info</span>           <span>maybe 3rd?</span>         </div>       </td>     </tr>   </table> 

i have made changes in plunker. when make window size small, accordion header size increase accordingly. use float: left/right or pull-left/right make further changes.

hope helps


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -