Puzzlepart / prosjektportalen

Prosjektportal for SharePoint er et prosjektstyringsverktøy for SharePoint basert på prosjektveiviseren
Other
30 stars 15 forks source link

Phasetext has no word-wrap #710

Open Remi749 opened 4 years ago

Remi749 commented 4 years ago

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 commented 4 years ago

Branch: https://github.com/Puzzlepart/prosjektportalen/tree/feature/phasetext-wordwrap

Remi749 commented 4 years ago

PR: https://github.com/Puzzlepart/prosjektportalen/pull/712

olemp commented 4 years ago

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

Remi749 commented 4 years ago

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 commented 4 years ago

You could give it a try?

olemp commented 4 years ago

https://github.com/mnater/Hyphenopoly

tarjeieo commented 4 years ago

See also #672

stale[bot] commented 4 years ago

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.