Skip to content

Commit

Permalink
fix(css): remove outline for popup button and explorer tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
qingyashu committed Aug 8, 2018
1 parent 71638b7 commit 243cb5a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/Explorer/ExplorerTabPanel.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
cursor: pointer;
padding: 10px;
font-size: 15px;
outline: none;
}

.explorer-tab-panel__tab-item--active {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Popup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Popup = ({
</div>
{
onClose &&
<div role='button' tabIndex={-1} className='popup__button' onClick={onClose}>
<div role='button' tabIndex={-1} className='popup__close-button' onClick={onClose}>
<IconComponent
iconName='cross'
dictIcons={dictIcons}
Expand Down
10 changes: 6 additions & 4 deletions src/components/Popup.less
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@
display: inline-flex;
}

.popup__button {
.popup__close-button {
float: right;
display: table-cell;
&:hover {
cursor: pointer;
}
outline: none;
}

.popup__close-button:hover {
cursor: pointer;
}

.popup__message {
Expand Down

0 comments on commit 243cb5a

Please sign in to comment.