1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Fix layout at export note in InfoPanel

This commit is contained in:
Kazu Yokomizo
2017-07-24 17:00:08 +09:00
parent f7d1f9e949
commit c697f19642
2 changed files with 55 additions and 10 deletions

View File

@@ -47,14 +47,21 @@ const InfoPanel = ({
</div>
</div>
<div styleName='group-export'>
<i className='fa fa-file-text fa-fw'
onClick={(e) => exportAsMd(e)}
/>
<div id='export-wrap'>
<button styleName='export--enable' onClick={(e) => exportAsMd(e)}>
<i className='fa fa-file-code-o fa-fw' />
<p>.md</p>
</button>
<i className='fa fa-file-text fa-fw'
onClick={(e) => exportAsTxt(e)}
/>
<button styleName='export--enable' onClick={(e) => exportAsTxt(e)}>
<i className='fa fa-file-text-o fa-fw' />
<p>.txt</p>
</button>
<button styleName='export--unable'>
<i className='fa fa-file-pdf-o fa-fw' />
<p>.pdf</p>
</button>
</div>
</div>
)