1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00

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', () => { describe('Load homepage', () => {
it('Can load homepage', () => { it('Can load homepage', () => {
cy.visit('/'); cy.visit('/');
cy.get('div#octo-tasks-app').should('exist'); cy.get('div#main-app').should('exist');
}); });
}); });

View File

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

View File

@ -11,4 +11,4 @@ import './styles/main.scss'
import './styles/labels.scss' import './styles/labels.scss'
loadTheme() 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 */ /* App frame */
#octo-tasks-app { #main-app {
flex: 1 1 auto; flex: 1 1 auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: auto; overflow: auto;
} }
#octo-tasks-app #frame, #main-app #frame,
#octo-tasks-app #main, #main-app #main,
#octo-tasks-app .BoardPage { #main-app .BoardPage {
flex: 1 1 auto; flex: 1 1 auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;