File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
sites/svelte-5-preview/src/lib Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 286
286
287
287
.cm - tooltip {
288
288
border: none;
289
- background- color : transparent ;
289
+ background: var ( -- sk - back - 3 ) ;
290
290
font- family: var (-- sk- font);
291
291
max- width: calc (100vw - 10em );
292
292
position: relative;
293
+ filter: drop- shadow (2px 4px 6px rgba (0 , 0 , 0 , 0.1 ));
293
294
}
294
295
295
296
.cm - tooltip- section {
296
297
position: relative;
297
298
padding: 0 .5em ;
298
- /* width: calc(100vw - 10em); */
299
- filter: drop- shadow (2px 4px 6px rgba (0 , 0 , 0 , 0.1 ));
299
+ left: - 13px ;
300
300
background: var (-- bg);
301
301
border- radius: 2px ;
302
+ max- width: 64em ;
302
303
}
303
304
304
305
.cm - tooltip- section:: before {
305
306
content: ' ' ;
306
307
position: absolute;
307
- left: 20px ;
308
+ left: 10px ;
308
309
width: 8px ;
309
310
height: 8px ;
310
311
transform: rotate (45deg );
328
329
bottom: - 4px ;
329
330
}
330
331
332
+ .cm - tooltip: has (.cm - diagnostic ) {
333
+ background: transparent;
334
+ }
335
+
331
336
.cm - tooltip: has (.cm - diagnostic - warning ) {
332
337
-- bg: var (-- warning);
333
338
-- fg: #222 ;
You can’t perform that action at this time.
0 commit comments