mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
Ellipsis added, but doesn't play nice with onRender... yet.
This commit is contained in:
parent
aa2fdb9d76
commit
1df9c49c46
4 changed files with 650 additions and 4 deletions
|
@ -3,12 +3,14 @@ define(
|
|||
[
|
||||
'app',
|
||||
'marionette',
|
||||
|
||||
'Quality/QualityProfileCollection',
|
||||
'AddSeries/RootFolders/Collection',
|
||||
'AddSeries/RootFolders/Layout',
|
||||
'Series/SeriesCollection',
|
||||
'Config',
|
||||
'Shared/Messenger'
|
||||
'Shared/Messenger',
|
||||
'jquery.dotdotdot'
|
||||
], function (App, Marionette, QualityProfiles, RootFolders, RootFolderLayout, SeriesCollection, Config, Messenger) {
|
||||
|
||||
return Marionette.ItemView.extend({
|
||||
|
@ -54,6 +56,12 @@ define(
|
|||
if (RootFolders.get(defaultRoot)) {
|
||||
this.ui.rootFolder.val(defaultRoot);
|
||||
}
|
||||
|
||||
//TODO: make this work via onRender, FM?
|
||||
//works with onShow, but stops working after the first render
|
||||
this.ui.overview.dotdotdot({
|
||||
height: 120
|
||||
});
|
||||
},
|
||||
|
||||
serializeData: function () {
|
||||
|
|
|
@ -58,10 +58,8 @@
|
|||
.search-item {
|
||||
|
||||
.new-series-overview {
|
||||
text-overflow : ellipsis;
|
||||
white-space : pre-line;
|
||||
overflow : hidden;
|
||||
height : 125px;
|
||||
height : 120px;
|
||||
}
|
||||
|
||||
.new-series-poster {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue