mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-04 17:07:22 +00:00
PlayerView: focus as a mode
This commit is contained in:
parent
6eb20f8db3
commit
fdd49f8621
3 changed files with 12 additions and 19 deletions
12
src/index.js
12
src/index.js
|
|
@ -50,15 +50,15 @@ function App () {
|
|||
<Route path='/play/:encodedUrl'>
|
||||
{ playerView(themeEngine, false) }
|
||||
</Route>
|
||||
<Route path='/play/:encodedUrl/focus'>
|
||||
{ playerView(themeEngine, true) }
|
||||
</Route>
|
||||
<Route path='/play/:encodedUrl/:theme/focus'>
|
||||
{ playerView(themeEngine, true) }
|
||||
</Route>
|
||||
<Route path='/play/:encodedUrl/:theme'>
|
||||
{ playerView(themeEngine, false) }
|
||||
</Route>
|
||||
<Route path='/focus/:encodedUrl'>
|
||||
{ playerView(themeEngine, true) }
|
||||
</Route>
|
||||
<Route path='/focus/:encodedUrl/:theme'>
|
||||
{ playerView(themeEngine, true) }
|
||||
</Route>
|
||||
|
||||
<Route>
|
||||
<NotFoundView />
|
||||
|
|
|
|||
|
|
@ -1,10 +1,3 @@
|
|||
.app.play {
|
||||
.app.play, .app.focus {
|
||||
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