From 00331b742e672265389135de2ad588922c7c05f8 Mon Sep 17 00:00:00 2001
From: Kianna <30884335+kiannaquach@users.noreply.github.com>
Date: Tue, 5 Sep 2023 14:52:14 -0700
Subject: [PATCH] UI: [VAULT-19478] Fix info table row value overflow (#22776)
---
ui/app/styles/helper-classes/general.scss | 6 ++++++
ui/lib/core/addon/components/info-table-row.hbs | 2 +-
ui/lib/core/addon/components/info-table-row.js | 1 +
ui/lib/kv/addon/components/page/secret/paths.hbs | 4 ++--
4 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/ui/app/styles/helper-classes/general.scss b/ui/app/styles/helper-classes/general.scss
index 574d403779..2abdb58b02 100644
--- a/ui/app/styles/helper-classes/general.scss
+++ b/ui/app/styles/helper-classes/general.scss
@@ -97,6 +97,12 @@
overflow: hidden;
}
+.text-overflow-ellipsis {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
// screen reader only
.sr-only {
border: 0;
diff --git a/ui/lib/core/addon/components/info-table-row.hbs b/ui/lib/core/addon/components/info-table-row.hbs
index bcf527252f..99abb11ede 100644
--- a/ui/lib/core/addon/components/info-table-row.hbs
+++ b/ui/lib/core/addon/components/info-table-row.hbs
@@ -34,7 +34,7 @@
+
{{path.snippet}}