mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-29 08:07:59 +01:00
Basic styling for notifications
Need to move this into a directive at some point
This commit is contained in:
parent
ef598a72ef
commit
ce5b060194
2 changed files with 16 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
<div ng-repeat="notification in notifications">
|
<div ng-repeat="notification in notifications" class="notification">
|
||||||
<a href="{{ notification.url }}"><img pfm-src-loader="::notification.thumbnail_url" pfm-src-size="thumbnail"></a>
|
<a href="{{ notification.url }}" class="img-link"><img pfm-src-loader="::notification.thumbnail_url" pfm-src-size="thumbnail"></a>
|
||||||
<a href="{{ notification.url }}"><p>{{ notification.text }}</p></a>
|
<a href="{{ notification.url }}" class="message"><p>{{ notification.text }}</p></a>
|
||||||
</div>
|
</div>
|
13
resources/assets/styles/content.less
vendored
13
resources/assets/styles/content.less
vendored
|
@ -539,3 +539,16 @@ html {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.notification {
|
||||||
|
min-height: 50px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
|
||||||
|
.img-link {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.message {
|
||||||
|
margin-left: 60px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue