Fixed margins
This commit is contained in:
parent
a320345782
commit
09080f231b
3 changed files with 2 additions and 4 deletions
2
200.jade
2
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")
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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%
|
||||
|
|
Loading…
Reference in a new issue