-
Notifications
You must be signed in to change notification settings - Fork 972
Conversation
helpfulHints: { | ||
display: 'block', | ||
width: '100%', | ||
color: '#eee', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this comes from the original code but I thought making this white
and setting #eee
to elements which require it should be better.
But #eee
is not used anywhere so this can be just replaced with white
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, thanks
<span className={css(styles.hintsTitle)} data-l10n-id='hintsTitle' /> | ||
<span className='fa fa-refresh' onClick={this.props.refreshHint} | ||
style={{ | ||
color: 'white', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be removed based on that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to keep it so FA icon can be white.
@cezaraugusto I created a commit as a suggestion: https://github.com/luixxiul/browser-laptop/commit/6be5e72a1d1a81944184665c93b0d0e39482eb6f. Please cherry-pick it if you like it 😄 |
super clean now, thanks |
++ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome, great job 😄
@@ -1174,22 +1175,6 @@ class PreferenceNavigationButton extends ImmutableComponent { | |||
} | |||
} | |||
|
|||
class HelpfulHints extends ImmutableComponent { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++ for making preferences.js less huge too
Test Plan:
Description
git rebase -i
to squash commits (if needed).Auditors: @luixxiul
Fix #7232