1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Fix toggle info button ux at note detail

This commit is contained in:
Kazu Yokomizo
2017-11-18 16:02:45 +09:00
parent ce43e80bdf
commit 4f0f611e52
2 changed files with 3 additions and 13 deletions

View File

@@ -6,9 +6,9 @@ const InfoButton = ({
onClick
}) => (
<button styleName='control-infoButton'
onClick={onClick}
onClick={(e) => onClick(e)}
>
<img styleName='iconInfo' src='../resources/icon/icon-info.svg' />
<img className='infoButton' src='../resources/icon/icon-info.svg' />
</button>
)

View File

@@ -1,20 +1,10 @@
.control-infoButton
top 10px
margin-bottom 10px
topBarButtonLight()
.control-infoPanel
position fixed
pointer-events none
top 50px
z-index 200
line-height normal
border-radius 2px
opacity 0
transition 0.1s
.infoButton
padding 0px
margin 45px 0
body[data-theme="dark"]
.control-infoButton