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

Phasetext has no word-wrap #710

Open
Remi749 opened this issue Dec 19, 2019 · 8 comments
Open

Phasetext has no word-wrap #710

Remi749 opened this issue Dec 19, 2019 · 8 comments
Labels
Complexity: small Issue/PR with small complexity duplicate This issue or pull request already exists enhancement New feature or request that will enhance the product frontend Related to frontend Priority: low Issue with low priority
Milestone

Comments

@Remi749
Copy link
Contributor

Remi749 commented Dec 19, 2019

Phasetext has no word-wrap

If there are too many phases for projects the phase text will end up like this:
image

With word-break: break-word;, it will look like this:
image

There will be no change done to the normal phases' design
image

This will also have to be done to "Bygg/Anlegg" modules and "Program".

@Remi749 Remi749 added the enhancement New feature or request that will enhance the product label Dec 19, 2019
@Remi749 Remi749 self-assigned this Dec 19, 2019
@Remi749
Copy link
Contributor Author

Remi749 commented Dec 19, 2019

@Remi749
Copy link
Contributor Author

Remi749 commented Dec 19, 2019

PR: #712

@olemp
Copy link
Collaborator

olemp commented Dec 19, 2019

Is it possible to have wordwrap with conditional - if it breaks a word @Remi749?

@Remi749
Copy link
Contributor Author

Remi749 commented Dec 19, 2019

There is a hyphen solution for this but only available for these browser for the norwegian dictionary:
image
Source: https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens

and for the english dictionary:
image

With the following css code:

... {
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}

This would be an alternative solution until it is fully supported for all dictionaries:
https://github.com/mnater/Hyphenopoly

@olemp
Copy link
Collaborator

olemp commented Dec 19, 2019

You could give it a try?

@olemp
Copy link
Collaborator

olemp commented Dec 19, 2019

@tarjeieo
Copy link
Member

tarjeieo commented Jan 7, 2020

See also #672

@Remi749 Remi749 removed their assignment Apr 15, 2020
@stale
Copy link

stale bot commented May 23, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label May 23, 2020
@Petterandre Petterandre removed their assignment Jun 22, 2020
@olemp olemp removed the wontfix label Aug 14, 2020
@Remi749 Remi749 added this to the 2.7.0 milestone Sep 8, 2020
@Remi749 Remi749 added Complexity: small Issue/PR with small complexity frontend Related to frontend Priority: low Issue with low priority duplicate This issue or pull request already exists labels Sep 8, 2020
@Remi749 Remi749 modified the milestones: Version 2.7.0, Version 2.7.1 Sep 24, 2020
@Remi749 Remi749 removed this from the Version 2.7.1 milestone Nov 30, 2020
@Remi749 Remi749 added this to the Version 2.7.2 milestone Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: small Issue/PR with small complexity duplicate This issue or pull request already exists enhancement New feature or request that will enhance the product frontend Related to frontend Priority: low Issue with low priority
Projects
None yet
Development

No branches or pull requests

4 participants