Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steps: text overflow #3631

Closed
AniaKru95 opened this issue Feb 6, 2023 · 2 comments · Fixed by #3958
Closed

Steps: text overflow #3631

AniaKru95 opened this issue Feb 6, 2023 · 2 comments · Fixed by #3958
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@AniaKru95
Copy link

Describe the bug

In case of long labels, steps component goes beyond the frame.
It is clearly visible on mobile devices.

Reproducer

https://codesandbox.io/s/intelligent-rosalind-et1byx?file=/src/StepsDemo.vue

PrimeVue version

3.20.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

Only one step should be visible on mobile devices.

@AniaKru95 AniaKru95 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 6, 2023
@AniaKru95 AniaKru95 changed the title Stepps: text overflow Steps: text overflow Feb 6, 2023
@bahadirsofuoglu bahadirsofuoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Feb 15, 2023
@fairplex123
Copy link

::v-deep(.p-steps .p-steps-item:last-child .p-steps-number, .p-steps
.p-steps-item:last-child
.p-steps-title) {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 200px;
}

@AniaKru95
Copy link
Author

Unfortunately, I does not work me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants