From 58558e50110349262c7a28f0195a7042f6fca732 Mon Sep 17 00:00:00 2001 From: Charles Zhao Date: Fri, 8 Jul 2022 23:17:05 +0800 Subject: [PATCH] fix(demo-app): username should not overflow info card (#1498) --- packages/demo-app/src/App.module.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/demo-app/src/App.module.scss b/packages/demo-app/src/App.module.scss index b2b00cb02..e6877594d 100644 --- a/packages/demo-app/src/App.module.scss +++ b/packages/demo-app/src/App.module.scss @@ -46,6 +46,12 @@ border-radius: 8px; width: 400px; + div { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + span { font: var(--font-label-large); }