mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-04 17:07:22 +00:00
Linting
This commit is contained in:
parent
2f537a08f3
commit
0f8d413708
3 changed files with 11 additions and 11 deletions
|
|
@ -1,12 +1,7 @@
|
|||
import { h } from 'preact'
|
||||
|
||||
const INITIAL_STATUS = {
|
||||
stage: 'loading',
|
||||
details: 'Loading...'
|
||||
}
|
||||
|
||||
const fail = details => (
|
||||
<div class="status fail">
|
||||
<div class='status fail'>
|
||||
<h1>Error</h1>
|
||||
{details.map(x => (<p>{x}</p>))}
|
||||
<hr />
|
||||
|
|
@ -21,7 +16,7 @@ const fail = details => (
|
|||
)
|
||||
|
||||
const loading = details => (
|
||||
<div class="status loading">
|
||||
<div class='status loading'>
|
||||
{details.map(x => (<div>{x}</div>))}
|
||||
</div>
|
||||
)
|
||||
|
|
|
|||
|
|
@ -35,9 +35,7 @@ html, body {
|
|||
}
|
||||
@media (min-width: 800px) {
|
||||
.app > main {
|
||||
height: 90%;
|
||||
max-height: 90%;
|
||||
|
||||
margin: 5vh 0;
|
||||
max-width: 800px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
.app.play {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@media (min-width: 800px) {
|
||||
.app.play main {
|
||||
max-height: 90%;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue