Navigation Menu

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

Commit

Permalink
Added ESC text bellow modal's close button
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroX-DG committed Jun 21, 2018
1 parent acb36db commit eb16841
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions browser/render/modals/modal-skeleton.jsx
Expand Up @@ -17,6 +17,7 @@ export default class ModalSkeleton extends React.Component {
closeBtn !== false &&
<div className='close-btn' onClick={this.closeModal.bind(this)}>
<FAIcon icon='times' />
<span className='text'>ESC</span>
</div>
}
{this.props.children}
Expand Down
8 changes: 8 additions & 0 deletions browser/render/modals/modal.sass
Expand Up @@ -22,6 +22,14 @@
right: 15px
top: 10px
cursor: pointer
font-family: 'Lato'
display: flex
justify-content: center
align-items: center
flex-direction: column
.text
margin-top: 5px
font-size: 0.8em
.modal-title
margin-bottom: 20px
.modal-content
Expand Down

0 comments on commit eb16841

Please sign in to comment.