RocketCommunicationsInc / astro

Astro UXDS is a collection of guidelines, patterns and components for designing space-based user interface applications.
https://astrouxds.com
Other
113 stars 25 forks source link

fix(tooltip): width bug #1188

Closed micahjones13 closed 1 year ago

micahjones13 commented 1 year ago

Brief Description

removes display: inline-flex from the :host of rux-tooltip. This causes the width of anything wrapped in the tooltip to not properly inherit. However, it also means that sometimes the tooltip will get wrapped to a new line when used in the default auto placement. Changing this placement to right should fix it, though.

Bug codepen: https://codepen.io/micahjones/pen/LYXrdOo

JIRA Link

https://rocketcom.atlassian.net/browse/ASTRO-5643

Related Issue

General Notes

Motivation and Context

Issues and Limitations

Types of changes

Checklist

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 4b906819f48167ea8a90aa8db9cc3369cc4698ff

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

netlify[bot] commented 1 year ago

Deploy Preview for astro-stencil canceled.

Name Link
Latest commit 4b906819f48167ea8a90aa8db9cc3369cc4698ff
Latest deploy log https://app.netlify.com/sites/astro-stencil/deploys/64c006122f18fb00082f2bb2
netlify[bot] commented 1 year ago

Deploy Preview for astro-preview canceled.

Name Link
Latest commit 4b906819f48167ea8a90aa8db9cc3369cc4698ff
Latest deploy log https://app.netlify.com/sites/astro-preview/deploys/64c006128ee2e000084decf6