File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed
packages/plugin-twoslash/static/global-styles Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 45
45
}
46
46
47
47
/* ===== Hover Info ===== */
48
- .twoslash : hover .twoslash-hover {
49
- border-color : var ( --twoslash-underline-color ) ;
48
+ .twoslash : hover .twoslash-hover :: after {
49
+ opacity : 0.4 ;
50
50
}
51
51
52
52
.twoslash .twoslash-hover {
53
- border-bottom : 1px dotted transparent;
54
- transition : border-color 0.3s ;
55
- transition-timing-function : ease;
56
53
position : relative;
54
+
55
+ & ::after {
56
+ content : '' ;
57
+ position : absolute;
58
+ bottom : -3px ;
59
+ left : 0 ;
60
+ right : 0 ;
61
+ opacity : 0 ;
62
+ border-bottom : 1px dotted var (--twoslash-underline-color );
63
+ transition : opacity 0.3s ;
64
+ transition-timing-function : ease;
65
+ }
57
66
}
58
67
59
68
.twoslash .twoslash-popup-trigger {
149
158
.twoslash .twoslash-popup-docs {
150
159
color : var (--twoslash-docs-color );
151
160
font-family : var (--twoslash-docs-font );
152
- font-size : 0.8 em ;
161
+ font-size : 0.85 em ;
153
162
border-top : 1px solid var (--twoslash-border-color );
154
163
}
155
164
You can’t perform that action at this time.
0 commit comments