Skip to content

Commit

Permalink
fix image overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Dec 16, 2022
1 parent f3fd918 commit 488cfea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/customizations/volto/components/theme/App/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class App extends Component {
* @param {string} info The info
* @returns {undefined}
*/
componentDidCatch(error, info) {
componentDidCatch(error, info) {
this.setState({ hasError: true, error, errorInfo: info });
config.settings.errorHandlers.forEach((handler) => handler(error));
}
Expand Down
5 changes: 4 additions & 1 deletion theme/site/globals/site.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -518,12 +518,15 @@ body.homepage {
background-color: rgba(31, 105, 182, 0.85);
}

/*
.background-img {
background-image: url('/images/background/home.jpg');
}

*/
.background-countries {
/*
background-image: url('/images/background/countries.png');
*/
background-position-x: 50%;
background-repeat: no-repeat;
background-size: contain !important;
Expand Down
2 changes: 1 addition & 1 deletion theme/site/globals/site.variables
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
@secondaryColor : @black;

@lightPrimaryColor : @lightBlue;
@lightSecondaryColor : @lightBlack;
@lightSecondaryColor : #545454;


/*--------------
Expand Down

0 comments on commit 488cfea

Please sign in to comment.