mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
fixed side nav
This commit is contained in:
parent
b4b140b609
commit
3cd552cba8
@ -81,10 +81,7 @@ export default function MainLayout(props) {
|
|||||||
|
|
||||||
<Sider
|
<Sider
|
||||||
width={240}
|
width={240}
|
||||||
style={{
|
className={adminStyles.sideNav}
|
||||||
overflow: "auto",
|
|
||||||
height: "100vh",
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<Menu
|
<Menu
|
||||||
theme="dark"
|
theme="dark"
|
||||||
@ -153,7 +150,7 @@ export default function MainLayout(props) {
|
|||||||
</Menu>
|
</Menu>
|
||||||
</Sider>
|
</Sider>
|
||||||
|
|
||||||
<Layout>
|
<Layout className={adminStyles.layoutMain}>
|
||||||
<Header className={adminStyles.header}>
|
<Header className={adminStyles.header}>
|
||||||
<Popover content={content} title="Thumbnail" trigger="hover">
|
<Popover content={content} title="Thumbnail" trigger="hover">
|
||||||
<div className={adminStyles.statusIndicatorContainer}>
|
<div className={adminStyles.statusIndicatorContainer}>
|
||||||
|
|||||||
@ -6,6 +6,17 @@ Will display an overview with the following datasources:
|
|||||||
3. Video settings.
|
3. Video settings.
|
||||||
|
|
||||||
TODO: Link each overview value to the sub-page that focuses on it.
|
TODO: Link each overview value to the sub-page that focuses on it.
|
||||||
|
|
||||||
|
GW: to do:
|
||||||
|
- fix side nav on long pages
|
||||||
|
- Hardware + Viewer count views- top 3 boxes - restyle
|
||||||
|
- "Current stream" - rename to "latest" stream?
|
||||||
|
- Home - more box shadoe?
|
||||||
|
- "Viewers" section - not "current viewers"
|
||||||
|
- maybe not have "current stream" nav section
|
||||||
|
- put viewers table info on Home
|
||||||
|
- maybe make outbound/inbound smaller (since it's fixed info for current stream)
|
||||||
|
- reformat "Inbound Video Stream" section.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React, { useState, useEffect, useContext } from "react";
|
import React, { useState, useEffect, useContext } from "react";
|
||||||
|
|||||||
@ -39,6 +39,17 @@
|
|||||||
padding-right: 1rem;
|
padding-right: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sideNav {
|
||||||
|
position: fixed;
|
||||||
|
height: 100vh;
|
||||||
|
overflow: auto;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layoutMain {
|
||||||
|
margin-left: 240px;
|
||||||
|
}
|
||||||
|
|
||||||
.statusIndicatorContainer {
|
.statusIndicatorContainer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|||||||
6828
web/yarn.lock
6828
web/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user