Skip to content

Commit

Permalink
fix border style
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang committed May 2, 2024
1 parent fbb7599 commit d6c81ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web_src/js/components/ActivityHeatmap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,15 @@ At the moment we could only identify the tooltip by its transition property.
https://github.com/razorness/vue3-calendar-heatmap/blob/955626176cb5dc3d3ead8120475c2e5e753cc392/src/components/CalendarHeatmap.vue#L202
This selector should be replaced by a more specific one if the library adds a CSS class.
*/
[data-tippy-root][style*="transition: transform 0.1s ease-out"] .tippy-box {
border: none;
}
/* some styles are put on the tippy-content intentionally, otherwise there will be strange animations */
[data-tippy-root][style*="transition: transform 0.1s ease-out"] .tippy-box .tippy-content {
transition: none !important;
padding: 0.5rem 1rem;
background-color: var(--color-tooltip-bg);
color: var(--color-tooltip-text);
border: none;
border-radius: var(--border-radius);
}
</style>

0 comments on commit d6c81ba

Please sign in to comment.