Skip to content

Commit 5a08d6e

Browse files
author
Devid
committed
this makes ui-scroll mad
1 parent ffaedd9 commit 5a08d6e

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

www/css/style.css

+22
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,26 @@
22
.item {
33
border: 1px solid green;
44
background-color: #bbb;
5+
}
6+
7+
.m-header {
8+
display: flex;
9+
flex-direction: row;
10+
align-items: center;
11+
/*min-height: 32px !important;*/
12+
}
13+
14+
.picture-small {
15+
margin-right: 10px;
16+
border-radius: 50%;
17+
/* border: 1px solid rgba(255, 255, 255, 0.3); */
18+
width: 32px;
19+
height: 32px;
20+
min-width: 30px;
21+
min-height: 30px;
22+
}
23+
24+
.expand {
25+
position: absolute;
26+
right: 0px;
527
}

www/index.html

+4-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ <h1 class="title">
4343
</h1>
4444
</ion-header-bar>
4545
<ion-content ng-controller="MainCtrl" ui-scroll-viewport>
46-
<div ui-scroll="item in datasource" buffer-size="10" adapter="adapter">
47-
<div class="item" ng-style="{'height': item.height + 'px'}">
48-
{{"content # " + item.index + ' ' + item.height}}
46+
<div ui-scroll="msg in datasource" buffer-size="10" adapter="adapter">
47+
<div class="m-header">
48+
<span>{{msg.index}}</span>
49+
<span class="ion-ios-arrow-down expand"></span>
4950
</div>
5051
</div>
5152
</ion-content>

0 commit comments

Comments
 (0)