File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,14 +91,16 @@ export class AppRoot extends Component {
9191 .links ="${ this . site . links . header } "
9292 .home ="${ this . home } "
9393 > </ app-header >
94- < main
95- class ="flex-1 ring-white/5 ring-inset sm:rounded-2xl sm:bg-neutral-900 sm:ring-1 "
96- >
97- ${ new StatusOverview ( this . site . mainStatus , this . services ) }
98- < div class ="p-6 pt-0! md:p-8 ">
99- ${ this . page }
100- </ div >
101- </ main >
94+ < div class ="flex-1 ">
95+ < main
96+ class ="ring-white/5 ring-inset sm:rounded-2xl sm:bg-neutral-900 sm:ring-1 "
97+ >
98+ ${ new StatusOverview ( this . site . mainStatus , this . services ) }
99+ < div class ="p-6 pt-0! md:p-8 ">
100+ ${ this . page }
101+ </ div >
102+ </ main >
103+ </ div >
102104 < app-footer > </ app-footer >
103105 </ div >
104106 ` ;
Original file line number Diff line number Diff line change @@ -6,5 +6,8 @@ import { InstatusApi } from "./api/InstatusApi";
66document . title = CONFIG . NAME ;
77
88const api = new InstatusApi ( CONFIG . ID ) ;
9+ const root = new AppRoot ( api ) ;
910
10- document . body . append ( new AppRoot ( api ) ) ;
11+ root . classList . add ( "flex" , "flex-col" , "flex-1" ) ;
12+
13+ document . body . append ( root ) ;
You can’t perform that action at this time.
0 commit comments