🚀 fix: pin top

This commit is contained in:
shenyu
2020-03-21 17:20:59 +08:00
parent a9473d4d22
commit 66a6390998
8 changed files with 17 additions and 20 deletions

View File

@@ -16,13 +16,17 @@
// overflow hidden
.article-topping
position absolute
top 0
left -3rem
color: #ea434a
&>i
font-size 2rem
line-height 1.7
display inline-block
margin-left 10px
padding 0 10px
border-radius 4px
font-style normal
font-size 10px
background-color #ea434a
color #fff
height 20px
line-height 22px
transform translateY(-8px)
.article-meta