diff --git a/couchpotato/core/plugins/movie/static/search.css b/couchpotato/core/plugins/movie/static/search.css index e03c6461..fb0cadd2 100644 --- a/couchpotato/core/plugins/movie/static/search.css +++ b/couchpotato/core/plugins/movie/static/search.css @@ -143,6 +143,9 @@ border-radius: 0; box-shadow: inset 0 1px 8px rgba(0,0,0,0.25); } + .movie_result .options > .in_library_wanted { + margin-top: -7px; + } .movie_result .options > div { border: 0; @@ -198,7 +201,9 @@ .movie_result .in_wanted, .movie_result .in_library { position: absolute; - margin-top: 105px; + bottom: 2px; + left: 14px; + font-size: 11px; } .movie_result .thumbnail { diff --git a/couchpotato/core/plugins/movie/static/search.js b/couchpotato/core/plugins/movie/static/search.js index 334f8554..c61b1624 100644 --- a/couchpotato/core/plugins/movie/static/search.js +++ b/couchpotato/core/plugins/movie/static/search.js @@ -309,7 +309,9 @@ Block.Search.Item = new Class({ } self.options_el.grab( - new Element('div').adopt( + new Element('div', { + 'class': self.info.in_wanted && self.info.in_wanted.profile || in_library ? 'in_library_wanted' : '' + }).adopt( self.info.in_wanted && self.info.in_wanted.profile ? new Element('span.in_wanted', { 'text': 'Already in wanted list: ' + self.info.in_wanted.profile.label }) : (in_library ? new Element('span.in_library', {