Fixed margins

This commit is contained in:
Diego Rodríguez 2016-02-28 02:59:02 -03:00
parent a320345782
commit 09080f231b
3 changed files with 2 additions and 4 deletions

View file

@ -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")

View file

@ -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'

View file

@ -17,9 +17,6 @@ h2, h3, h4, h5, h6, ul, li
footer
margin-top: 10px
#viewer
margin-top: -20px
.container
width: 95%
max-width: 95%