fix(torrents): torrents list page title too long issues

This commit is contained in:
OldHawk
2017-10-18 11:32:49 +08:00
parent 0d38b5ae55
commit fc3bb84367
3 changed files with 8 additions and 4 deletions

View File

@@ -380,6 +380,10 @@ body {
.se-info {
color: #ccc;
}
.votes-info {
position: absolute;
right: 5px;
}
}
.torrent-user-info {

View File

@@ -359,7 +359,7 @@
<li>
<span class="se-info">S{{item.torrent_seasons}}E{{item.torrent_episodes}}</span>
<span title="{{ 'TITLE_ALT.IMDB_VOTES' | translate}}"
class="pull-right torrent-votes"><kbd>IMDB</kbd> {{item.resource_detail_info.vote_average | number : 1}}</span>
class="votes-info torrent-votes"><kbd>IMDB</kbd> {{item.resource_detail_info.vote_average | number : 1}}</span>
</li>
</ul>
</div>
@@ -530,7 +530,7 @@
<span class="release-date"
ng-if="item.resource_detail_info.artist">{{item.resource_detail_info.artist}}</span>
<span title="{{ 'TITLE_ALT.IMDB_VOTES' | translate}}"
class="pull-right torrent-votes"><kbd>{{vm.TGI.getVoteTitle(item)}}</kbd> {{item.resource_detail_info.vote_average | number : 1}}</span>
class="votes-info torrent-votes"><kbd>{{vm.TGI.getVoteTitle(item)}}</kbd> {{item.resource_detail_info.vote_average | number : 1}}</span>
</li>
</ul>
</div>
@@ -558,7 +558,7 @@
</div>
<table class="table">
<tr ng-repeat="nm in vm.musicNewList" mouse-enter-toggle-class="show-big" base-class="hide-big"
ng-class="[$index > 0 ? 'hide-big' : 'show-big', $index >= 12 ? 'hide-more' : '']">
ng-class="[$index > 0 ? 'hide-big' : 'show-big', $index >= 11 ? 'hide-more' : '']">
<td>
<div class="newest-item-big music-margin" ng-click="vm.openTorrentInfo(nm._id);">
<img class="img-responsive" torrent-logo="nm"

View File

@@ -40,7 +40,7 @@
<span class="release-date" ng-if="item.resource_detail_info.artist">{{item.resource_detail_info.artist}}</span>
<span class="se-info" ng-if="vm.torrentType=='tvserial'">S{{item.torrent_seasons}}E{{item.torrent_episodes}}</span>
<span title="{{ 'TITLE_ALT.IMDB_VOTES' | translate}}"
class="pull-right torrent-votes"><kbd>{{vm.TGI.getVoteTitle(item)}}</kbd> {{item.resource_detail_info.vote_average | number : 1}}</span>
class="votes-info torrent-votes"><kbd>{{vm.TGI.getVoteTitle(item)}}</kbd> {{item.resource_detail_info.vote_average | number : 1}}</span>
</li>
</ul>
</div>