Skip to content

Commit d6c81ba

Browse files
committed
fix border style
1 parent fbb7599 commit d6c81ba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web_src/js/components/ActivityHeatmap.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,15 @@ At the moment we could only identify the tooltip by its transition property.
7373
https://github.com/razorness/vue3-calendar-heatmap/blob/955626176cb5dc3d3ead8120475c2e5e753cc392/src/components/CalendarHeatmap.vue#L202
7474
This selector should be replaced by a more specific one if the library adds a CSS class.
7575
*/
76+
[data-tippy-root][style*="transition: transform 0.1s ease-out"] .tippy-box {
77+
border: none;
78+
}
79+
/* some styles are put on the tippy-content intentionally, otherwise there will be strange animations */
7680
[data-tippy-root][style*="transition: transform 0.1s ease-out"] .tippy-box .tippy-content {
7781
transition: none !important;
7882
padding: 0.5rem 1rem;
7983
background-color: var(--color-tooltip-bg);
8084
color: var(--color-tooltip-text);
81-
border: none;
8285
border-radius: var(--border-radius);
8386
}
8487
</style>

0 commit comments

Comments
 (0)