Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Commit

Permalink
[IMPROVE] add hover effect (#566)
Browse files Browse the repository at this point in the history
* add hover effect

* change class name
  • Loading branch information
Deepak-learner authored Mar 22, 2021
1 parent a7f2220 commit ba9368b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/components/Footer/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
font-weight: bold;
line-height: 1;

&:hover,
&:focus{
color: black;
}

@include pressable-button(2px);
}

Expand Down
2 changes: 1 addition & 1 deletion src/routes/Chat/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export default class Chat extends Component {
handleEmojiClick={this.handleEmojiClick}
pre={(
<ComposerActions>
<ComposerAction onClick={this.toggleEmojiPickerState}>
<ComposerAction className={createClassName(styles, 'emoji-picker-icon')} onClick={this.toggleEmojiPickerState}>
<EmojiIcon width={20} height={20} />
</ComposerAction>
</ComposerActions>
Expand Down
8 changes: 8 additions & 0 deletions src/routes/Chat/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@

opacity: 0.6;
}

.emoji-picker-icon{
color:#696969;
&:hover,
&:focus{
color: black;
}
}
}

@keyframes loader-rotate {
Expand Down

0 comments on commit ba9368b

Please sign in to comment.