Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion browser/components/NoteItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
12 changes: 6 additions & 6 deletions browser/components/NoteItem.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down