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

Commit

Permalink
Fix border issue on Brave buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
bsclifton committed Mar 16, 2018
1 parent d740679 commit f5fbfbe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/renderer/components/common/browserButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ const styles = StyleSheet.create({

browserButton_primaryColor: {
background: globalStyles.button.primary.background,
borderLeft: '2px solid transparent',
borderRight: '2px solid transparent',
borderLeft: `2px solid ${globalStyles.button.primary.gradientColor1}`,
borderRight: `2px solid ${globalStyles.button.primary.gradientColor2}`,
borderTop: `2px solid ${globalStyles.button.primary.gradientColor1}`,
borderBottom: `2px solid ${globalStyles.button.primary.gradientColor2}`,
cursor: 'pointer',
Expand Down
3 changes: 2 additions & 1 deletion less/button.less
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ span.buttonSeparator {

&.primaryButton {
background: linear-gradient(@braveLightOrange, @braveOrange);
border: 2px solid transparent;
border-left: 2px solid @braveLightOrange;
border-right: 2px solid @braveOrange;
border-top: 2px solid @braveLightOrange;
border-bottom: 2px solid @braveOrange;
box-shadow: @buttonShadow;
Expand Down

0 comments on commit f5fbfbe

Please sign in to comment.