Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
move disconnected layer to let buttons clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
boypt committed Jul 19, 2021
1 parent bc50088 commit af247f1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions static/files/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,20 @@ body {
margin: 0 auto;
}

@media (min-width: 740px) {
.app .connect-warning {
margin-top: 4.5rem;
}
}

@media (max-width: 740px) {
.cage {
margin: 0 10px;
padding-top: 10px;
}
.app .connect-warning {
margin-top: 3rem;
}
}

@media (max-width: 480px) {
Expand Down
2 changes: 1 addition & 1 deletion static/files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<body class="app">
<div ng-cloak class="cage" ondropfile="uploadTorrent($event)" placeholder="Drop torrent files here">
<div ng-if="!connected" class="connect-warning ui inverted vertical masthead center aligned segment">
<div ng-if="!connected" class="connect-warning ui inverted masthead center aligned segment">
<div class="ui text container">
<h1 class="ui inverted header">
{{ hasConnected ? 'Disconnected' : 'Connecting' }}
Expand Down

0 comments on commit af247f1

Please sign in to comment.