From 579f2c923eca5259c6e9c1092a0ebc7465be3390 Mon Sep 17 00:00:00 2001 From: Jonas Hungershausen Date: Mon, 18 Nov 2024 15:06:27 +0100 Subject: [PATCH] fix: abbreviate currentIdentifierButton with ... if overflowing --- .../card/current-identifier-button.tsx | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/packages/elements-react/src/theme/default/components/card/current-identifier-button.tsx b/packages/elements-react/src/theme/default/components/card/current-identifier-button.tsx index ea600bb5..c6f9b3e9 100644 --- a/packages/elements-react/src/theme/default/components/card/current-identifier-button.tsx +++ b/packages/elements-react/src/theme/default/components/card/current-identifier-button.tsx @@ -33,19 +33,17 @@ export function DefaultCurrentIdentifierButton() { ]) return ( -
- - - - {nodeBackButton?.attributes.value} - - -
+ + + + {nodeBackButton?.attributes.value} + + ) }