clip entry name

This commit is contained in:
Athou
2013-03-29 09:58:04 +01:00
parent 04419cc24e
commit da3be45c8f
2 changed files with 21 additions and 3 deletions

View File

@@ -79,18 +79,35 @@
}
#feed-accordion .entry-heading {
height: 20px;
padding: 6px 0px;
display: block;
color: black;
cursor: pointer;
padding: 6px 0px;
}
#feed-accordion .entry-heading .feed-name {
color: #555;
width: 150px;
display: inline-block;
display: block;
overflow: hidden;
white-space: nowrap;
position: absolute;
}
#feed-accordion .entry-heading .entry-name {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-left: 150px;
margin-right: 100px;
}
#feed-accordion .entry-heading .entry-date {
display: block;
position: absolute;
right: 20px;
}
#feed-accordion a.entry-heading:hover {

View File

@@ -9,8 +9,9 @@
<a scroll-to="isOpen && current == entry" href="{{entry.url}}" target="_blank" class="entry-heading" ng-click="entryClicked(entry, $event)"
ng-class="{open: current == entry, closed: current != entry}">
<span ui-if="selectedType == 'category'" class="feed-name">{{entry.feedName}}</span>
<span class="entry-date">{{entry.date}}</span>
<span class="entry-name" ng-class="{unread: entry.read == false}" ng-bind-html-unsafe="entry.title"></span>
<span class="pull-right">{{entry.date}}</span>
</a>
<div class="entry-body" ui-if="isOpen && current == entry">
<div>