File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " vue-manual-data-masking" ,
33 "description" : " A vue2 component for manual data masking" ,
4- "version" : " 0.1.7 " ,
4+ "version" : " 0.1.8 " ,
55 "private" : false ,
66 "author" : " HC200ok" ,
77 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -45,23 +45,24 @@ export default class DataMasked extends Vue {
4545 }
4646 & _word {
4747 float : left ;
48- height : 1.3rem ;
48+ height : 1.3em ;
49+ line-height : 1.3 ;
4950 overflow : hidden ;
5051 & _top ,
5152 & _bottom {
53+ height : 1.3em ;
5254 text-align : center ;
53- line-height : 1.3rem ;
5455 display : block ;
55- transition : margin-top 0 .3s ;
56+ transition : margin-top .3s ;
5657 }
5758 & :hover & _top {
58- margin-top : -20 px ;
59+ margin-top : -1.3 em ;
5960 }
6061 }
6162 & _category {
6263 display : inline-block ;
63- font-weight : bold ;
64- height : 1.3 rem ;
64+ font-weight : 700 ;
65+ height : 1.3 em ;
6566 padding-left : 2px ;
6667 }
6768 & _delete {
You can’t perform that action at this time.
0 commit comments