From dc69ce315e7fed68a364113d3dbe1a424fab21f1 Mon Sep 17 00:00:00 2001 From: Chen-I Lim Date: Fri, 29 Jan 2021 20:39:06 -0800 Subject: [PATCH] Rename main-app div --- webapp/cypress/integration/homepage.js | 2 +- webapp/html-templates/page.ejs | 2 +- webapp/src/main.tsx | 2 +- webapp/src/styles/main.scss | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/webapp/cypress/integration/homepage.js b/webapp/cypress/integration/homepage.js index 8f02c09cc..53a4ec3fe 100644 --- a/webapp/cypress/integration/homepage.js +++ b/webapp/cypress/integration/homepage.js @@ -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'); }); }); diff --git a/webapp/html-templates/page.ejs b/webapp/html-templates/page.ejs index a897d60b7..b06f6aa63 100644 --- a/webapp/html-templates/page.ejs +++ b/webapp/html-templates/page.ejs @@ -12,7 +12,7 @@ -
+
diff --git a/webapp/src/main.tsx b/webapp/src/main.tsx index 0242c540e..381d9862a 100644 --- a/webapp/src/main.tsx +++ b/webapp/src/main.tsx @@ -11,4 +11,4 @@ import './styles/main.scss' import './styles/labels.scss' loadTheme() -ReactDOM.render(, document.getElementById('octo-tasks-app')) +ReactDOM.render(, document.getElementById('main-app')) diff --git a/webapp/src/styles/main.scss b/webapp/src/styles/main.scss index 9410fb1a4..3ea92165c 100644 --- a/webapp/src/styles/main.scss +++ b/webapp/src/styles/main.scss @@ -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;