You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Text width] Define max-inline-size for text #7119
Is your feature request related to a problem? Please describe.
Within our product, we have noticed inconsistencies in text width across various components. This not only affects the visual aesthetics but also impacts readability. It's crucial to address this issue to maintain a consistent appearance.
Potential solution
I propose to use options for max text width across EUI. We currently have this option in EuiText when grow is set to false. This will allow developers to set a consistent text width across different components, ensuring uniformity. The max text width can be applied as a default setting, with the flexibility for developers to override it if a specific component requires a different width.
Alternatives considered
Fixed Width for All Components: One approach could be to set a fixed text width for all components. However, this might be to constrictive as different components might have varying content and design requirements.
Responsive Text Width: Another option is to have a responsive text width based on the screen size or container width. This would adjust the text width dynamically but might introduce complexities in implementation.
Component-specific Settings: Instead of a global setting, we could allow developers to set text width at the component level. While this offers flexibility, it might lead to inconsistencies if not implemented with care.
We're flagging this as "high" priority for the team.
We're labeling this as a "large" effort, because while it is a small dev lift, there will be a fair amount of work researching this and documenting it correctly.
Kyriakos mentioned that this is not ready to work yet, it needs more design work first. Assigning to @kyrspl for more info.
👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.
❌ Per our previous message, this issue is auto-closing after having been open and inactive for a year. If you strongly feel this is still a high-priority issue, or are interested in contributing, please leave a comment or open a new issue linking to this one for context.
Activity
JasonStoltz commentedon Aug 28, 2023
We're flagging this as "high" priority for the team.
We're labeling this as a "large" effort, because while it is a small dev lift, there will be a fair amount of work researching this and documenting it correctly.
Kyriakos mentioned that this is not ready to work yet, it needs more design work first. Assigning to @kyrspl for more info.
github-actions commentedon Feb 25, 2024
👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.
github-actions commentedon Aug 23, 2024
❌ Per our previous message, this issue is auto-closing after having been open and inactive for a year. If you strongly feel this is still a high-priority issue, or are interested in contributing, please leave a comment or open a new issue linking to this one for context.