diff --git a/modules/notification/styles.module.css b/modules/notification/styles.module.css
index 4b401ca2..ebe6e4f5 100644
--- a/modules/notification/styles.module.css
+++ b/modules/notification/styles.module.css
@@ -6,4 +6,5 @@
color: var(--white);
background-color: var(--gray-600);
border-radius: 0.5rem;
+ width: max-content;
}
diff --git a/templates/output/card-dropdown.jsx b/templates/output/card-dropdown.jsx
index 078c8102..9b12c17f 100644
--- a/templates/output/card-dropdown.jsx
+++ b/templates/output/card-dropdown.jsx
@@ -87,33 +87,37 @@ const CardDropdown = ({
)
const EllipsisText = (text) =>
- text?.length > 22 ? `${text.substring(0, 22)}...` : text
+ text?.length > 30 ? `${text.substring(0, 30)}...` : text
const renderOAI = (
-
-
- {EllipsisText(oai)}
-
- {isTooltipVisible && {oai}
}
- {
- e.stopPropagation()
- copyUrl()
- }}
- />
- {copyUrlStatus === 'copied' && }
+
+
+ {
+ e.stopPropagation()
+ copyUrl()
+ }}
+ />
+ {copyUrlStatus === 'copied' && }
+
)
@@ -148,25 +152,29 @@ const CardDropdown = ({
className={classNames.use(styles.identifier)}
tag="span"
>
-
-
- {EllipsisText(oai)}
-
-
- {copyUrlStatus === 'copied' && }
+
+
+
+ {copyUrlStatus === 'copied' && }
+
)}
{(updatedDate || createdDate) && (
diff --git a/templates/output/card-dropdown.module.css b/templates/output/card-dropdown.module.css
index 07da1d7a..00d009c4 100644
--- a/templates/output/card-dropdown.module.css
+++ b/templates/output/card-dropdown.module.css
@@ -10,9 +10,16 @@
position: relative;
display: flex;
align-items: center;
+ justify-content: space-between;
color: var(--primary);
}
+.inner-identifier {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
.icon-copy {
margin-left: 0.6rem;
cursor: pointer;