Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Fixes #5034 #5035 - Page not found and remove alternate color scheme (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
punamdahiya authored and jaredhirsch committed Oct 29, 2018
1 parent 4baae80 commit 27bb443
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions server/src/pages/leave-screenshots/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Body extends React.Component {
}
return (
<reactruntime.BodyTemplate {...this.props}>
<div className="column-center full-height alt-color-scheme">
<div className="column-center full-height">
<Localized id="gNoShots" attrs={{alt: true}}>
<img src={ this.props.staticLink("/static/img/image-nope_screenshots.svg") } alt="no Shots found" width="432" height="432"/>
</Localized>
Expand Down Expand Up @@ -57,7 +57,7 @@ class Body extends React.Component {
renderComplete() {
return (
<reactruntime.BodyTemplate {...this.props}>
<div className="column-center full-height alt-color-scheme">
<div className="column-center full-height">
<Localized id="gNoShots" attrs={{alt: true}}>
<img src={ this.props.staticLink("/static/img/image-nope_screenshots.svg") } alt="no Shots found" width="432" height="432"/>
</Localized>
Expand Down
4 changes: 2 additions & 2 deletions server/src/pages/shot/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ class Body extends React.Component {
}

return <reactruntime.BodyTemplate {...this.props}>
<div className="column-center full-height alt-color-scheme">
<div className="column-center full-height">
<Localized id="gNoShots" attrs={{alt: true}}>
<img src={ this.props.staticLink("/static/img/image-nope_screenshots.svg") } alt="no Shots found" width="432" height="432"/>
</Localized>
Expand Down Expand Up @@ -315,7 +315,7 @@ class Body extends React.Component {
// Note: any attributes used here need to be preserved
// in the render() function
return <reactruntime.BodyTemplate {...this.props}>
<div className="column-center full-height alt-color-scheme">
<div className="column-center full-height">
<img src={ this.props.staticLink("/static/img/image-expired_screenshots.svg") } alt="no Shots found" width="432" height="432"/>
<div className="alt-content">
<Localized id="shotPageExpiredMessage">
Expand Down
6 changes: 3 additions & 3 deletions static/css/partials/_header.scss
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
.header-panel {
@include respond-to("medium") {
@include flex-container(row, center, center, wrap);
height: 100%;
}

@include respond-to("small") {
@include flex-container(row, space-between, center, wrap);
height: 100%;
}

@include respond-to("large") {
@include flex-container(row, center, center);
flex-basis: 96px;
}

background-color: $light-default;
display: flex;
height: 70px;
flex-basis: 70px;
height: 100%;
width: 100%;

.logo {
Expand Down

0 comments on commit 27bb443

Please sign in to comment.