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

Commit

Permalink
Merge pull request #829 from brave/dev-channel
Browse files Browse the repository at this point in the history
Fix background color on theme tabs
  • Loading branch information
bbondy committed Feb 19, 2016
2 parents 2257a56 + 64b559e commit e73f0a6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion js/components/tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class Tab extends ImmutableComponent {
const backgroundColor = this.props.paintTabs &&
(this.props.frameProps.get('themeColor') || this.props.frameProps.get('computedThemeColor'))
if (this.props.isActive && backgroundColor) {
activeTabStyle.backgroundColor = backgroundColor
activeTabStyle.background = backgroundColor
const textColor = getTextColorForBackground(backgroundColor)
iconStyle.color = textColor
if (textColor) {
Expand Down
17 changes: 8 additions & 9 deletions less/bookmarksToolbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@
@import "variables.less";

.bookmarksToolbar {
background: #EEEEEE;
border-bottom: 1px solid #BBBBBB;
border-top: 1px solid #FFFFFF;
box-sizing: border-box;
display: flex;
flex: 1;
padding: 3px 10px;
height: 23px;

background: #EEEEEE;
border-bottom: 1px solid #BBBBBB;
border-top: 1px solid #FFFFFF;
box-sizing: border-box;
display: flex;
flex: 1;
padding: 3px 10px;
height: 23px;

.bookmarkToolbarButton {
border-radius: @borderRadius;
Expand Down

0 comments on commit e73f0a6

Please sign in to comment.