HealthCatalyst / Fabric.Cashmere

Health Catalyst’s comprehensive design system.
http://cashmere.healthcatalyst.net
Apache License 2.0
66 stars 76 forks source link

Alignment issues with sidenav #2221

Closed atkulp closed 1 year ago

atkulp commented 1 year ago

Summary Sidebar favorites can't handle wide text. Should switch to a flex layout instead to make this easier

Let us know what went wrong. The rest of this form is optional. The icon on the left gets smushed, the stars are out of alignment (and all that implies), and the text just cuts without an eliipsis. imageimage

Similarly, the links push the right icon away and cut without an ellipsis.

image

Reproduction

Steps to reproduce:

  1. Add a long title for a nav title or favorite

Stackblitz reproduction (click the "Edit on Stackblitz" link on a component example and fork the template): https://stackblitz.com/edit/angular-jwknnv?file=src%2Fapp%2Fsidenav%2Fsidenav-example.component.ts

Additional context

This seems like an easy CSS fix within the package, not so easy in an app.

health-catalyst commented 1 year ago

:tada: This issue has been resolved in version 15.2.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: