From 09080f231b3d7d8d3484906e4f589da7557e1b1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Rodr=C3=ADguez?= Date: Sun, 28 Feb 2016 02:59:02 -0300 Subject: [PATCH] Fixed margins --- 200.jade | 2 +- app.coffee | 1 + style.sass | 3 --- 3 files changed, 2 insertions(+), 4 deletions(-) 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%