mirror of
https://github.com/go-gitea/gitea
synced 2024-11-05 17:54:26 +00:00
fix styles
This commit is contained in:
parent
bcf658bcaa
commit
867662a5ff
@ -68,12 +68,16 @@ export default {
|
||||
/>
|
||||
</template>
|
||||
<style>
|
||||
/* A quick patch for vue3-calendar-heatmap's tooltip padding.
|
||||
/* A quick patch for vue3-calendar-heatmap's tooltip padding, to avoid conflicting with other tippy contents.
|
||||
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 .tippy-content {
|
||||
transition: none !important;
|
||||
padding: 0.5em;
|
||||
padding: 0.5rem 1rem;
|
||||
background-color: var(--color-tooltip-bg);
|
||||
color: var(--color-tooltip-text);
|
||||
border: none;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user