I am trying (with no success) use Semantic UI for application layout with list on the left that fills height of browser and scrolls its content AND form on the right that is fixed.
In pure HTML/CSS I would do it like this jsFiddle: http://jsfiddle.net/yoorek/qFFvY/
<body ng-app="app" ng-controller="AppController">
<div class="row header">HEADER</div>
<div class="row body">
<div class="left col vscroll">
<ul>
<li ng-repeat="item in data">
{{ item }}
</li>
</ul>
</div>
<div class="right col vscroll">
Form
</div>
</div>
<div class="row footer">FOOTER</div>
CSS:
body {
margin: 0
}
.row, .col {
overflow: hidden;
position: absolute;
border: dotted 1px red;
}
.left {
width: 30%;
}
.right {
left: 30%;
right: 0px;
}
.row {
left: 0;
right: 0;
}
.col {
top: 0;
bottom: 0;
}
.vscroll {
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.body.row {
top: 40px;
bottom: 40px;
}
.footer.row {
bottom: 0;
height: 40px;
}
I tried use Semantic UI Grid system and overflow+position:absolute list panel but it gets crazy Also putting Semantic UI components into layout from Fiddle makes lots of problems with inner components.
So, QUESTION: Is there a way to use Semantic UI CSS classes with extra styling to achieve responsive application layout with one list that fills height of browser and hides content with vertical scroolbar?