diff --git a/frontend/src/App.vue b/frontend/src/App.vue
index c942afd..7b1e977 100644
--- a/frontend/src/App.vue
+++ b/frontend/src/App.vue
@@ -12,7 +12,6 @@
GnIconButton,
GnInput,
GnMetricCard,
- GnModal,
GnPageHeader,
GnSearchField,
GnTable,
@@ -22,6 +21,7 @@
} from "gnexus-ui-kit/vue";
import { api } from "./api";
+import GnModal from "./components/GnModal.vue";
const baseTabs = [
{ id: "secrets", label: "Secrets" },
@@ -100,7 +100,6 @@
mcp: true
});
-const visibleFields = computed(() => selected.value?.fields || []);
const tabs = computed(() =>
me.value?.role === "admin" ? [...baseTabs, { id: "admin", label: "Admin" }] : baseTabs
);
@@ -130,13 +129,6 @@
}
];
});
-const visibleFieldItems = computed(() =>
- visibleFields.value.map((field) => ({
- title: field.name,
- subtitle: field.encrypted ? "encrypted" : "plain",
- raw: field
- }))
-);
const revealedFieldItems = computed(() =>
(revealed.value?.fields || []).map((field) => ({
title: field.name,
@@ -647,13 +639,6 @@
-
-
- ••••••
- Copy
-
-
-
Reveal
@@ -693,6 +678,11 @@
{{ item.raw.value }}
+
diff --git a/frontend/src/components/GnModal.vue b/frontend/src/components/GnModal.vue
new file mode 100644
index 0000000..9f5774f
--- /dev/null
+++ b/frontend/src/components/GnModal.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
diff --git a/frontend/src/styles.css b/frontend/src/styles.css
index 6fe177e..b0c5101 100644
--- a/frontend/src/styles.css
+++ b/frontend/src/styles.css
@@ -76,6 +76,18 @@
box-shadow: none;
transform: none;
}
+
+ .btn-icon:not(.without-hover):hover .ph,
+ .btn-icon:not(.without-hover):hover .ph-bold {
+ transform: none;
+ }
+}
+
+@media (hover: none) and (pointer: coarse) {
+ .btn-icon:not(.without-hover):active .ph,
+ .btn-icon:not(.without-hover):active .ph-bold {
+ transform: none;
+ }
}
.modal.a-show .modal-backdrop {