css fix
parent
49ebb12757
commit
e0cb726a69
|
@ -12,7 +12,7 @@ import SessionContainer from "../features/session/components/SessionContainer";
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
<div className="container-fluid">
|
<div>
|
||||||
<Header />
|
<Header />
|
||||||
<Switch>
|
<Switch>
|
||||||
<Route exact path="/" component={HomePage} />
|
<Route exact path="/" component={HomePage} />
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { get } from "../../api/axiosApi";
|
import { get } from "../../api/axiosApi";
|
||||||
const baseUrl = process.env.REVERSE_PROXY_API_URL + "/server";
|
const baseUrl = `${process.env.REVERSE_PROXY_API_URL}/server`;
|
||||||
|
|
||||||
const getServerSessions = () => get(`${baseUrl}/sessions`);
|
const getServerSessions = () => get(`${baseUrl}/sessions`);
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,8 @@ const SessionListComponent = ({ sessions }) => {
|
||||||
<ExpansionPanel key={session.sessionId}>
|
<ExpansionPanel key={session.sessionId}>
|
||||||
<ExpansionPanelSummary
|
<ExpansionPanelSummary
|
||||||
expandIcon={<ExpandMoreIcon />}
|
expandIcon={<ExpandMoreIcon />}
|
||||||
aria-controls="panel1a-content"
|
aria-controls={`panel-${session.sessionId}-content`}
|
||||||
id="panel1a-header"
|
id={`panel-${session.sessionId}-header`}
|
||||||
>
|
>
|
||||||
<SessionSummary session={session} />
|
<SessionSummary session={session} />
|
||||||
</ExpansionPanelSummary>
|
</ExpansionPanelSummary>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#app {
|
#app {
|
||||||
max-width: 850px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
padding-left: 50px;
|
||||||
|
padding-right: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
|
|
Loading…
Reference in New Issue