From 18cd40167857648ff48f6f8db229e5fea7608922 Mon Sep 17 00:00:00 2001 From: drizzlesconsin <69514654+drizzlesconsin@users.noreply.github.com> Date: Wed, 8 Sep 2021 01:27:53 +0000 Subject: [PATCH] fix(image): small size hide preview text (#29900) * fix(image): small size hide preview text * fix: image preview text ellipsis * fix: reset test --- components/image/style/index.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/image/style/index.less b/components/image/style/index.less index e26d78e63b..1332d9f1bf 100644 --- a/components/image/style/index.less +++ b/components/image/style/index.less @@ -36,6 +36,10 @@ transition: opacity @animation-duration-slow; &-info { + padding: 0 @padding-xss; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; .@{iconfont-css-prefix} { margin-inline-end: @margin-xss; }