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

Merge pull request #1663 from BoostIO/note-list-ui

Fix note list UI
This commit is contained in:
Junyoung Choi (Sai)
2018-03-13 22:45:51 +09:00
committed by GitHub
2 changed files with 7 additions and 7 deletions

View File

@@ -100,7 +100,7 @@ const NoteItem = ({
{note.isStarred
? <img styleName='item-star' src='../resources/icon/icon-starred.svg' /> : ''
}
{note.isPinned && !pathname.match(/\/home|\/starred|\/trash/)
{note.isPinned && !pathname.match(/\/starred|\/trash/)
? <i styleName='item-pin' className='fa fa-thumb-tack' /> : ''
}
{note.type === 'MARKDOWN_NOTE'

View File

@@ -144,18 +144,18 @@ $control-height = 30px
padding-bottom 2px
.item-star
position relative
width 16px
height 16px
position absolute
right 2px
top 5px
color alpha($ui-favorite-star-button-color, 60%)
font-size 12px
padding 0
border-radius 17px
.item-pin
position relative
width 34px
height 34px
position absolute
right 25px
top 7px
color #E54D42
font-size 14px
padding 0