diff --git a/src/components/Tooltip.vue b/src/components/Tooltip.vue
deleted file mode 100644
index 07fcc65..0000000
--- a/src/components/Tooltip.vue
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/src/components/index.ts b/src/components/index.ts
index b39d25c..a554a86 100644
--- a/src/components/index.ts
+++ b/src/components/index.ts
@@ -3,5 +3,5 @@ export { default as Dropdown } from './Dropdown.vue';
export { default as LoadingSpinner } from './LoadingSpinner.vue';
export { default as Modal } from './Modal.vue';
export { default as SliderCheckbox } from './SliderCheckbox.vue';
-export { default as Tooltip } from './Tooltip.vue';
+export { default as Tooltip } from './tooltip/Tooltip.vue';
diff --git a/src/components/tooltip/Tooltip.vue b/src/components/tooltip/Tooltip.vue
new file mode 100644
index 0000000..133e8c1
--- /dev/null
+++ b/src/components/tooltip/Tooltip.vue
@@ -0,0 +1,59 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/tooltip/tooltip.ts b/src/components/tooltip/tooltip.ts
new file mode 100644
index 0000000..7452433
--- /dev/null
+++ b/src/components/tooltip/tooltip.ts
@@ -0,0 +1,3 @@
+import { createSharedComposable, useWindowSize } from "@vueuse/core";
+
+export const useSharedWindowSize = createSharedComposable(useWindowSize);
\ No newline at end of file
diff --git a/src/market/acquisition/AcquisitionQuantilsTooltip.vue b/src/market/acquisition/AcquisitionQuantilsTooltip.vue
index 4227a28..bf33cf4 100644
--- a/src/market/acquisition/AcquisitionQuantilsTooltip.vue
+++ b/src/market/acquisition/AcquisitionQuantilsTooltip.vue
@@ -52,7 +52,7 @@ watchEffect(async () => {
-
+
@@ -80,8 +80,18 @@ watchEffect(async () => {
>:deep(div.header) {
@apply btn-icon px-2;
}
- &.open>:deep(div.header) {
- @apply rounded-t-md bg-slate-600;
+ &.open {
+ &.tooltip-top>:deep(div.header) {
+ @apply rounded-t-md bg-slate-600;
+ }
+ &.tooltip-bottom {
+ .tooltip-content {
+ bottom: 79px
+ }
+ >:deep(div.header) {
+ @apply rounded-b-md bg-slate-600;
+ }
+ }
}
}
\ No newline at end of file