diff --git a/200.jade b/200.jade index ba1e225..d4255d3 100644 --- a/200.jade +++ b/200.jade @@ -24,7 +24,7 @@ html(ng-app='BTorrent', lang='en') a(ng-href='/download') Single Download | | a(ng-href='/view') Stream / View - #viewer + #viewer(ng-style="$root.viewerStyle") #view(ng-view) footer a.button(href="https://github.com/DiegoRBaquero/BTorrent/issues", target="_blank") diff --git a/app.coffee b/app.coffee index 0d95e02..f96d2ef 100644 --- a/app.coffee +++ b/app.coffee @@ -237,6 +237,7 @@ app.controller 'ViewCtrl', ['$scope','$rootScope','$http','$log','$location', 'n html: true onTorrent = (torrent, isSeed) -> + $rootScope.viewerStyle = {'margin-top': '-20px'} dbg torrent.magnetURI torrent.safeTorrentFileURL = torrent.torrentFileBlobURL torrent.fileName = torrent.name + '.torrent' diff --git a/style.sass b/style.sass index f5ef325..662e243 100644 --- a/style.sass +++ b/style.sass @@ -16,9 +16,6 @@ h2, h3, h4, h5, h6, ul, li footer margin-top: 10px - -#viewer - margin-top: -20px .container width: 95%