Skip to content

Commit

Permalink
fix: remove unused Footer component and space reserved for footer
Browse files Browse the repository at this point in the history
  • Loading branch information
csm-thu committed Feb 15, 2022
1 parent 039a350 commit 78053f0
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 49 deletions.
2 changes: 1 addition & 1 deletion src/layouts/TabLayout/TabLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import profilePlaceholder from '../../assets/profile_placeholder.png';

const useStyles = makeStyles((theme) => ({
content: {
height: 'calc(100% - 36px)', // footer height = 36px
height: '100%',
paddingTop: theme.spacing(6),
paddingLeft: theme.spacing(0),
paddingRight: theme.spacing(0),
Expand Down
40 changes: 0 additions & 40 deletions src/layouts/TabLayout/components/Footer/Footer.js

This file was deleted.

4 changes: 0 additions & 4 deletions src/layouts/TabLayout/components/Footer/index.js

This file was deleted.

4 changes: 0 additions & 4 deletions src/layouts/TabLayout/components/index.js

This file was deleted.

1 change: 1 addition & 0 deletions src/views/Dashboards/Dashboards.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { USE_POWER_BI_WITH_USER_CREDENTIALS } from '../../config/AppConfiguratio

const useStyles = makeStyles((theme) => ({
root: {
position: 'fixed',
margin: 'auto',
width: '100%',
height: '100%',
Expand Down
1 change: 1 addition & 0 deletions src/views/Scenario/Scenario.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const appInsights = AppInsights.getInstance();

const useStyles = makeStyles((theme) => ({
root: {
position: 'fixed',
height: '100%',
},
backdrop: {
Expand Down
1 change: 1 addition & 0 deletions src/views/ScenarioManager/ScenarioManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { getFirstScenarioMaster } from '../../utils/SortScenarioListUtils';

const useStyles = makeStyles((theme) => ({
root: {
position: 'fixed',
margin: 'auto',
height: '100%',
width: '100%',
Expand Down

0 comments on commit 78053f0

Please sign in to comment.