Skip to content
This repository has been archived by the owner on Aug 10, 2020. It is now read-only.

Commit

Permalink
Merge pull request #72 from navikt/bakgrunn
Browse files Browse the repository at this point in the history
Sett bakgrunn på maincontent istedenfor body
  • Loading branch information
heyvard authored May 28, 2020
2 parents fc5c29a + 63067b1 commit d814e34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/sider/Side.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const getClassNames = (laster, erInnlogget) => {

const Hvitstyle = () => {
return (<style dangerouslySetInnerHTML={{ __html:
'body { background-color: #fff }',
'#maincontent { background-color: #fff }',
}} />);
};

Expand Down
5 changes: 4 additions & 1 deletion styles/_app.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@ html, body {
}

body {
background-color: #efefef;
color: #3e3832;
font-family: Arial,sans-serif;
line-height: 1.42857143;
margin: 0;
}

#maincontent {
background-color: #e9e7e7;
}

.app {
min-height: 70vh;
}
Expand Down

0 comments on commit d814e34

Please sign in to comment.