mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
Fix the tag layout of dark theme at NoteList
This commit is contained in:
@@ -13,7 +13,7 @@ import styles from './NoteItem.styl'
|
||||
*/
|
||||
const TagElement = ({ tagName }) => (
|
||||
<span styleName='item-bottom-tagList-item' key={tagName}>
|
||||
{tagName}
|
||||
#{tagName}
|
||||
</span>
|
||||
)
|
||||
|
||||
|
||||
@@ -86,9 +86,9 @@ $control-height = 30px
|
||||
color #FFFFFF
|
||||
|
||||
.item-bottom-tagList-item
|
||||
font-size 12px
|
||||
font-size 10px
|
||||
margin-right 8px
|
||||
padding 0 10px
|
||||
padding 0
|
||||
height 20px
|
||||
box-sizing border-box
|
||||
border-radius 20px
|
||||
@@ -163,8 +163,8 @@ body[data-theme="dark"]
|
||||
color $ui-inactive-text-color
|
||||
|
||||
.item-bottom-tagList-item
|
||||
background-color $ui-dark-tag-backgroundColor
|
||||
color $ui-dark-text-color
|
||||
background-color transparent
|
||||
color $ui-inactive-text-color
|
||||
|
||||
.item-bottom-tagList-empty
|
||||
color $ui-inactive-text-color
|
||||
|
||||
Reference in New Issue
Block a user