Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
Rewards on Desktop: Remove temporary header
Browse files Browse the repository at this point in the history
Now that Brave-Core has its own Navigation Bar (implemented in brave/brave-core#1422), we can remove the temporary reserved area from the Rewards Views.
Required for brave/brave-browser#956
  • Loading branch information
petemill committed Feb 15, 2019
1 parent 0ef6501 commit 467b65b
Show file tree
Hide file tree
Showing 4 changed files with 105 additions and 127 deletions.
8 changes: 0 additions & 8 deletions src/features/rewards/settingsPage/__snapshots__/spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ exports[`SettingsPage tests basic tests matches the snapshot 1`] = `
}
.c1 {
background-image: linear-gradient(267deg,#bf14a2,#f73a1c);
height: 62px;
}
.c2 {
max-width: 1000px;
margin: 0 auto;
padding: 40px 0;
Expand All @@ -26,8 +21,5 @@ exports[`SettingsPage tests basic tests matches the snapshot 1`] = `
<div
className="c1"
/>
<div
className="c2"
/>
</div>
`;
3 changes: 1 addition & 2 deletions src/features/rewards/settingsPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */

import * as React from 'react'
import { StyledWrapper, StyleHeader, StyledContent } from './style'
import { StyledWrapper, StyledContent } from './style'

export interface Props {
id?: string
Expand All @@ -16,7 +16,6 @@ export default class SettingsPage extends React.PureComponent<Props, {}> {

return (
<StyledWrapper id={id}>
<StyleHeader />
<StyledContent>
{children}
</StyledContent>
Expand Down
5 changes: 0 additions & 5 deletions src/features/rewards/settingsPage/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ export const StyledWrapper = styled<{}, 'div'>('div')`
font-family: "Poppins", sans-serif
`

export const StyleHeader = styled<{}, 'div'>('div')`
background-image: linear-gradient(267deg, #bf14a2, #f73a1c);
height: 62px;
`

export const StyledContent = styled<{}, 'div'>('div')`
max-width: 1000px;
margin: 0 auto;
Expand Down
Loading

0 comments on commit 467b65b

Please sign in to comment.