Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
Make pages' background size consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
artkravchenko committed Nov 8, 2017
1 parent e00016f commit cf8b7d9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
1 change: 0 additions & 1 deletion src/less/blocks/color.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
@color__text: #464646;
@color__background: #fefffe;
@color__page_background: #fafafa;

@color__block_background: #fff;
@color__border: #d3d2d1;
Expand Down
2 changes: 1 addition & 1 deletion src/less/blocks/global.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ html {
color: @color__text;
font-size: @font__size;
font-weight: 400;
background: @color__page_background;
background: #f0f0f0;
text-rendering: optimizeLegibility;
padding: 0;
margin: 0;
Expand Down
7 changes: 0 additions & 7 deletions src/less/blocks/page.less
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
}

.page__container {
background: #f3f2f1;
order: 10;
display: flex;
padding-bottom: @space;
Expand Down Expand Up @@ -171,12 +170,6 @@
flex-wrap: nowrap;
}

&-up {
position: relative;
z-index: 10;
background: #f3f2f1;
}

&-block {
display: block;
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/base/tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export default class BaseTagPage extends React.Component {

<Page>
<PageMain className={!tagsAttached && 'page__main--without-right'}>
<PageBody className="page__body-up">
<PageBody>
<Sidebar current_user={current_user} />
<PageContent>
{createPostForm}
Expand Down

0 comments on commit cf8b7d9

Please sign in to comment.