File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -68,19 +68,14 @@ export default {
6868 />
6969</template >
7070<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.
7272At the moment we could only identify the tooltip by its transition property.
7373https://github.com/razorness/vue3-calendar-heatmap/blob/955626176cb5dc3d3ead8120475c2e5e753cc392/src/components/CalendarHeatmap.vue#L202
7474This 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.
7776*/
78- [ data- tippy-root ][ style *= " transition: transform 0.1s ease-out " ] .tippy-box {
77+ . tippy-box :not ([ data-theme ]) {
7978 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- transition : none !important ;
8479 padding : 0.5rem 1rem ;
8580 background-color : var (--color-tooltip-bg );
8681 color : var (--color-tooltip-text );
You can’t perform that action at this time.
0 commit comments