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

Merge pull request #1836 from bah2830/TAG_COUNT_FIX

Updated tag note count to float to the right like the storage list
This commit is contained in:
Kazz Yokomizo
2018-04-26 22:16:35 +09:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ const TagListItem = ({name, handleClickTagListItem, isActive, count}) => (
<button styleName={isActive ? 'tagList-item-active' : 'tagList-item'} onClick={() => handleClickTagListItem(name)}>
<span styleName='tagList-item-name'>
{`# ${name}`}
<span styleName='tagList-item-count'> {count}</span>
<span styleName='tagList-item-count'>{count}</span>
</span>
</button>
)

View File

@@ -49,7 +49,10 @@
text-overflow ellipsis
.tagList-item-count
padding 0 3px
float right
line-height 26px
padding-right 15px
font-size 13px
body[data-theme="white"]
.tagList-item