feature: add tooltip css
This commit is contained in:
parent
c409b355fe
commit
c89e0598d2
|
@ -1,6 +1,8 @@
|
||||||
import { computed, defineComponent, ref, SetupContext } from 'vue';
|
import { computed, defineComponent, ref, SetupContext } from 'vue';
|
||||||
import { TooltipProps, tooltipProps } from './tooltip.props';
|
import { TooltipProps, tooltipProps } from './tooltip.props';
|
||||||
|
|
||||||
|
import './tooltip.css';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'FTooltip',
|
name: 'FTooltip',
|
||||||
props: tooltipProps,
|
props: tooltipProps,
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
.f-tooltip-bottom .arrow,
|
||||||
|
.f-tooltip-top .arrow {
|
||||||
|
left: 50%;
|
||||||
|
}
|
||||||
|
.f-tooltip-left .arrow,
|
||||||
|
.f-tooltip-right .arrow {
|
||||||
|
top: 25%;
|
||||||
|
}
|
Loading…
Reference in New Issue