@appscode/design-system 2.17.83-alpha-3 → 2.17.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import { useElementSize, useMutationObserver } from "@vueuse/core";
|
|
|
3
3
|
|
|
4
4
|
export function useElementsOffset(selectors: string[]) {
|
|
5
5
|
const elRefs = selectors.map(() => ref<HTMLElement | null>(null));
|
|
6
|
-
const sizes = elRefs.map((el) => useElementSize(el));
|
|
6
|
+
const sizes = elRefs.map((el) => useElementSize(el, undefined, { box: "border-box" }));
|
|
7
7
|
|
|
8
8
|
const resolveElements = () => {
|
|
9
9
|
selectors.forEach((selector, i) => {
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
padding: 8px;
|
|
5
5
|
height: calc(100vh - var(--sidebar-tabs-offset, 50px));
|
|
6
6
|
overflow-y: auto;
|
|
7
|
+
|
|
7
8
|
ul {
|
|
8
9
|
li {
|
|
9
10
|
a {
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
width: 100%;
|
|
27
28
|
height: 100%;
|
|
28
29
|
background-color: $primary-95;
|
|
30
|
+
border: 1px solid transparent;
|
|
29
31
|
border-radius: 4px;
|
|
30
32
|
z-index: -1;
|
|
31
33
|
opacity: 0;
|