Skip to content

Commit

Permalink
update test and style
Browse files Browse the repository at this point in the history
  • Loading branch information
Xindi Xu committed Jul 21, 2020
1 parent 2afd85f commit fdedc10
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions css/emoji-mart.css
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@
padding-top: 100%;
max-width: 12px;
border-radius: 100%;
cursor: pointer;
}

.emoji-mart-skin-tone-1 { background-color: #ffc93a }
Expand Down
1 change: 0 additions & 1 deletion src/components/picker/nimble-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,6 @@ class NimblePicker extends React.PureComponent {
className={`emoji-mart emoji-mart-${theme}`}
aria-label={title}
onKeyDown={this.handleKeyDown}
ref={this.props.wrapperRef}
>
<div className="emoji-mart-bar">
<Anchors
Expand Down
3 changes: 1 addition & 2 deletions src/components/skins-dot.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ export default class SkinsDot extends Skins {
if (opened) {
this.handleClick(e)
this.onClose(e)
} else {
this.handleMenuClick(e)
}
}}
onKeyDown={(e) => this.handleSkinKeyDown(e, skinTone)}
Expand Down Expand Up @@ -140,6 +138,7 @@ export default class SkinsDot extends Skins {
<div
{...(opened ? { role: 'menubar' } : {})}
tabIndex={'0'}
onClick={this.handleMenuClick}
onKeyDown={this.handleKeyDown}
ref={this.setSkinTonesRef}
>
Expand Down

0 comments on commit fdedc10

Please sign in to comment.