File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -68,12 +68,16 @@ export default {
68
68
/>
69
69
</template >
70
70
<style >
71
- /* A quick patch for vue3-calendar-heatmap's tooltip padding.
71
+ /* A quick patch for vue3-calendar-heatmap's tooltip padding, to avoid conflicting with other tippy contents .
72
72
At the moment we could only identify the tooltip by its transition property.
73
73
https://github.com/razorness/vue3-calendar-heatmap/blob/955626176cb5dc3d3ead8120475c2e5e753cc392/src/components/CalendarHeatmap.vue#L202
74
+ This selector should be replaced by a more specific one if the library adds a CSS class.
74
75
*/
75
76
[data-tippy-root ][style *= " transition: transform 0.1s ease-out" ] .tippy-box .tippy-content {
76
77
transition : none !important ;
77
- padding : 0.5em ;
78
+ padding : 0.5rem 1rem ;
79
+ background-color : var (--color-tooltip-bg );
80
+ color : var (--color-tooltip-text );
81
+ border : none ;
78
82
}
79
83
</style >
You can’t perform that action at this time.
0 commit comments