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='/download') Single Download
|
||||||
| |
|
| |
|
||||||
a(ng-href='/view') Stream / View
|
a(ng-href='/view') Stream / View
|
||||||
#viewer
|
#viewer(ng-style="$root.viewerStyle")
|
||||||
#view(ng-view)
|
#view(ng-view)
|
||||||
footer
|
footer
|
||||||
a.button(href="https://github.com/DiegoRBaquero/BTorrent/issues", target="_blank")
|
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
|
html: true
|
||||||
|
|
||||||
onTorrent = (torrent, isSeed) ->
|
onTorrent = (torrent, isSeed) ->
|
||||||
|
$rootScope.viewerStyle = {'margin-top': '-20px'}
|
||||||
dbg torrent.magnetURI
|
dbg torrent.magnetURI
|
||||||
torrent.safeTorrentFileURL = torrent.torrentFileBlobURL
|
torrent.safeTorrentFileURL = torrent.torrentFileBlobURL
|
||||||
torrent.fileName = torrent.name + '.torrent'
|
torrent.fileName = torrent.name + '.torrent'
|
||||||
|
|
|
@ -16,9 +16,6 @@ h2, h3, h4, h5, h6, ul, li
|
||||||
|
|
||||||
footer
|
footer
|
||||||
margin-top: 10px
|
margin-top: 10px
|
||||||
|
|
||||||
#viewer
|
|
||||||
margin-top: -20px
|
|
||||||
|
|
||||||
.container
|
.container
|
||||||
width: 95%
|
width: 95%
|
||||||
|
|
Loading…
Reference in a new issue