Rename main-app div

This commit is contained in:
Chen-I Lim 2021-01-29 20:39:06 -08:00
parent 6749b39f27
commit dc69ce315e
4 changed files with 7 additions and 7 deletions

View file

@ -4,6 +4,6 @@
describe('Load homepage', () => {
it('Can load homepage', () => {
cy.visit('/');
cy.get('div#octo-tasks-app').should('exist');
cy.get('div#main-app').should('exist');
});
});

View file

@ -12,7 +12,7 @@
</head>
<body>
<div id="octo-tasks-app">
<div id="main-app">
</div>
<div id="root-portal">

View file

@ -11,4 +11,4 @@ import './styles/main.scss'
import './styles/labels.scss'
loadTheme()
ReactDOM.render(<App/>, document.getElementById('octo-tasks-app'))
ReactDOM.render(<App/>, document.getElementById('main-app'))

View file

@ -76,16 +76,16 @@ button {
/* App frame */
#octo-tasks-app {
#main-app {
flex: 1 1 auto;
display: flex;
flex-direction: column;
overflow: auto;
}
#octo-tasks-app #frame,
#octo-tasks-app #main,
#octo-tasks-app .BoardPage {
#main-app #frame,
#main-app #main,
#main-app .BoardPage {
flex: 1 1 auto;
display: flex;
flex-direction: column;