html - Bootstrap doesn't wrap the columns properly -
i'm working on rebuilding , old svg based semicircle menu bootstrap , want have layout this:
....[3+3+3+3]....
[12][..6+6..][12]
[12][3+6+3][12]
i have upper-mid part 6 column width , 4 equal inner items, down have left , right part 3 column width , mid part 6 column between them. problem left-mid-righ parts don't wrap under upper-mid part. bootstrap squeezes them 1 single row...should put items more 12 columns under it?
inside parts subparts wrap or when comment out left-mid-right part upper-mid positioned perfectly.
<div class="container"> <div class="row"> <div class="semicircle-menu col-sm-12 hidden-xs"> <div class="upper-mid col-sm-6 center-block"> <div class="menu-item manage-dashboards col-sm-3">manage dashboards</div> <div class="menu-item add-new-dashboard col-sm-3">add new dashboard</div> <div class="menu-item manage-alerts col-sm-3">manage alerts</div> <div class="menu-item add-new-alert col-sm-3">add new alert</div> </div> <div class="left col-sm-3"> <div class="menu-item-sub add-new-dataset col-sm-12">add new dataset</div> <div class="menu-item-sub manage-datasets col-sm-12">manage datasets</div> <div class="menu-item-sub data-sources col-sm-12">data sources</div> </div> <div class="mid col-sm-6"> <div class="menu-item dashboards col-sm-6">dashboards</div> <div class="menu-item alerts col-sm-6">alerts</div> <div class="menu-item master-data col-sm-3">master data</div> <div class="indicator col-sm-6">dataiq</div> <div class="menu-item maintenance col-sm-3">maintenance</div> </div> <div class="right col-sm-3"> <div class="menu-item-sub users col-sm-12">users</div> <div class="menu-item-sub user-groups col-sm-12">user groups</div> <div class="menu-item-sub settings col-sm-12">settings</div> </div> </div> </div> </div>
do mean that?
<div class="container"> <div class="row"> <div class="semicircle-menu col-sm-12 hidden-xs text-center"> <div class="row upper-mid"> <div class="col-sm-3">manage dashboards</div> <div class="col-sm-3">add new dashboard</div> <div class="col-sm-3">manage alerts</div> <div class="col-sm-3">add new alert</div> </div> <div class="row"> <div class="col-sm-3 left"> <div class="row"> <div class="col-sm-12">add new dataset</div> </div> <div class="row"> <div class="col-sm-12">manage dataset</div> </div> <div class="row"> <div class="col-sm-12">data sources</div> </div> </div> <div class="col-sm-6 mid"> <div class="row"> <div class="col-sm-12">dashboards</div> </div> <div class="row"> <div class="col-sm-12">alerts</div> </div> <div class="row"> <div class="col-sm-12">master data</div> </div> <div class="row"> <div class="col-sm-12">dataiq</div> </div> <div class="row"> <div class="col-sm-12">maintenance</div> </div> </div> <div class="col-sm-3 right"> <div class="row"> <div class="col-sm-12">users</div> </div> <div class="row"> <div class="col-sm-12">user groups</div> </div> <div class="row"> <div class="col-sm-12">settings</div> </div> </div> </div> </div> </div> </div>
Comments
Post a Comment