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

Commit

Permalink
Redo: Add copy to clipboard for about brave page (fixes #5790)
Browse files Browse the repository at this point in the history
Closes #6183

Redo PR #6107 (which was reverted with #6184)

- cherry-picked 942e95c
- Added brave.less for about:brave to fix regression on about pages

TODO: Pick up properties from history.less into brave.less

Auditors: @alexwykoff

Test Plan:
1. Visit about:about
  • Loading branch information
Suguru Hirahara authored and cezaraugusto committed Dec 20, 2016
1 parent 1af2c01 commit fa425c0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
1 change: 1 addition & 0 deletions js/about/brave.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const aboutActions = require('./aboutActions')
const ipc = window.chrome.ipcRenderer

require('../../less/about/history.less')
require('../../less/about/brave.less')
require('../../node_modules/font-awesome/css/font-awesome.css')

const tranformVersionInfoToString = (versionInformation) =>
Expand Down
16 changes: 16 additions & 0 deletions less/about/brave.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@import "./common.less";

.siteDetailsPage {
.siteDetailsPageContent {
.sectionTitle {
padding-left: 0;
}

.title {
width: 400px;
display: flex;
justify-content: space-between;
margin-left: @aboutPageSectionPadding;
}
}
}
8 changes: 1 addition & 7 deletions less/about/siteDetails.less
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,10 @@ body {
display: block;
clear: both;

.title {
width: 400px;
display: flex;
justify-content: space-between;
margin-left: @aboutPageSectionPadding;
}

.sectionTitle {
font-size: 16px;
margin-bottom: 12px;
padding-left: @aboutPageSectionPadding;
}
}
}
Expand Down

0 comments on commit fa425c0

Please sign in to comment.