fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Contents inside DocumentCardTitle is getting overlapped or clipped after applying the text spacing in the page.

Open inateeg opened this issue 5 years ago • 4 comments

textspaceOnDocumentCard If one use Fabric DocumentCardTile to render the card title values inside the DocumentCard, it renders fine in normal mode but if apply text spacing on the page, the title area height may fix 2 lines of text anymore. Should fabric component either use ellipse to shorten it to single line when there is not enough area to render in text spacing mode or support different heights? I understand that caller may set the container height. Is there a way for either height grow in this mode or if not enough to hold two lines, shorten the text so that one line is rendered?

inateeg avatar Jun 22 '21 01:06 inateeg

@inateeg Can you please provide codepen link or screenshot?

nancy2681 avatar Jun 22 '21 06:06 nancy2681

if you go to DocumentCard sample page, toggle on text spacing you can see some of those view messed up. Also in Email card case all depend on title text lenght or truncate or not.

inateeg avatar Jun 23 '21 05:06 inateeg

@inateeg - Thanks for filing this, but you’ll need to add a CodePen repro before we can help. You can start from one of the DocumentCard examples (click “Export to CodePen”) or https://aka.ms/fluentpen.

gouttierre avatar Aug 10 '21 14:08 gouttierre

This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your contributions to Fluent UI!

msft-fluent-ui-bot avatar Aug 14 '21 17:08 msft-fluent-ui-bot