File tree Expand file tree Collapse file tree 1 file changed +16
-9
lines changed
packages/test-case-component/src Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -84,22 +84,22 @@ pre.shiki {
84
84
85
85
@keyframes blink {
86
86
0% ,
87
- 60 % {
88
- border-color : # 667f ;
87
+ 50 % {
88
+ background : # 667f ;
89
89
}
90
- 61 % ,
90
+ 51 % ,
91
91
100% {
92
- border-color : # 6670 ;
92
+ background : # 6670 ;
93
93
}
94
94
}
95
95
96
96
.selection {
97
- /* display: inline-block; */
98
- border-right : 2px solid # 00b ;
99
- animation : blink 1400ms infinite;
100
- padding : 0px 0.5px 0px 0 ;
101
- margin : 0 0px 0 -1px ;
97
+ position : absolute;
98
+ width : 2px ;
102
99
height : var (--line-height );
100
+ background : # 00b ;
101
+ animation : blink 1000ms infinite;
102
+ /* margin-left: -3px; */
103
103
}
104
104
105
105
.selection : not (: empty ) {
@@ -108,12 +108,19 @@ pre.shiki {
108
108
}
109
109
.decoration {
110
110
display : inline-block;
111
+ line-height : 0 ;
112
+ font-size : 0 ;
113
+ /* vertical-align: middle; */
111
114
/* padding: 0px 0.5px 0px 0.5px; */
112
115
/* margin: 0 0px 0 -1px; */
113
116
/* height: var(--line-height); */
114
117
/* width: 100%; */
115
118
}
116
119
120
+ .decoration : empty {
121
+ display : block;
122
+ }
123
+
117
124
.full {
118
125
width : 100% ;
119
126
}
You can’t perform that action at this time.
0 commit comments