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

[Feature Request] Add text-pre-wrap #11761

Closed
Shinigami92 opened this issue Jun 30, 2020 · 0 comments · Fixed by #11772
Closed

[Feature Request] Add text-pre-wrap #11761

Shinigami92 opened this issue Jun 30, 2020 · 0 comments · Fixed by #11772
Assignees
Labels
framework Issues and Feature Requests that have needs framework-wide. T: feature A new feature
Milestone

Comments

@Shinigami92
Copy link
Contributor

Problem to solve

We already have a text-no-wrap class. If we could use a text-pre-wrap we can apply it to content-class of v-tooltip and use a string containing \n.

Proposed solution

Add a new CSS class text-pre-wrap

.v-application {
  .text-pre-wrap {
    white-space: pre-wrap !important;
  }
}

Update documentation https://vuetifyjs.com/en/styles/text-and-typography/#text-wrapping-and-overflow

@ghost ghost added the S: triage label Jun 30, 2020
@johnleider johnleider added this to the v2.3.x milestone Sep 29, 2020
@johnleider johnleider added framework Issues and Feature Requests that have needs framework-wide. T: feature A new feature and removed S: triage labels Sep 29, 2020
@johnleider johnleider linked a pull request Sep 29, 2020 that will close this issue
8 tasks
@johnleider johnleider modified the milestones: v2.3.x, v2.4.0 Sep 29, 2020
@KaelWD KaelWD closed this as completed Oct 7, 2020
jyburns pushed a commit to jyburns/vuetify that referenced this issue Oct 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework Issues and Feature Requests that have needs framework-wide. T: feature A new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants