File tree 1 file changed +3
-7
lines changed
1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -68,18 +68,14 @@ export default {
68
68
/>
69
69
</template >
70
70
<style >
71
- /* A quick patch for vue3-calendar-heatmap's tooltip padding, to avoid conflicting with other tippy contents .
71
+ /* A quick patch for vue3-calendar-heatmap's tooltip padding.
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
74
This selector should be replaced by a more specific one if the library adds a CSS class.
75
- TODO: Remove this after https://github.com/razorness/vue3-calendar-heatmap/pull/34 is merged and released,
76
- and then all styles could be merged into `.tippy-box` selector.
75
+ TODO: Remove this after https://github.com/razorness/vue3-calendar-heatmap/pull/34 is merged and released.
77
76
*/
78
- [ data- tippy-root ][ style *= " transition: transform 0.1s ease-out " ] .tippy-box {
77
+ . tippy-box :not ([ data-theme ]) {
79
78
border : none ;
80
- }
81
- /* some styles are put on the tippy-content intentionally, otherwise there will be strange animations */
82
- [data-tippy-root ][style *= " transition: transform 0.1s ease-out" ] .tippy-box .tippy-content {
83
79
transition : none !important ;
84
80
padding : 0.5rem 1rem ;
85
81
background-color : var (--color-tooltip-bg );
You can’t perform that action at this time.
0 commit comments