feature: add tooltip css

This commit is contained in:
Sagi 2022-09-27 23:01:28 +08:00
parent c409b355fe
commit c89e0598d2
2 changed files with 10 additions and 0 deletions

View File

@ -1,6 +1,8 @@
import { computed, defineComponent, ref, SetupContext } from 'vue';
import { TooltipProps, tooltipProps } from './tooltip.props';
import './tooltip.css';
export default defineComponent({
name: 'FTooltip',
props: tooltipProps,

View File

@ -0,0 +1,8 @@
.f-tooltip-bottom .arrow,
.f-tooltip-top .arrow {
left: 50%;
}
.f-tooltip-left .arrow,
.f-tooltip-right .arrow {
top: 25%;
}