Last active
July 6, 2017 10:35
-
-
Save loburets/dc9cbcc701b0048a1daa to your computer and use it in GitHub Desktop.
Wrap from long words, strings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*add max-width from table columns */ | |
/* add this styles from wysywig window */ | |
.overflow-long-text { | |
overflow: hidden; | |
text-overflow: ellipsis; | |
word-break: break-word; | |
} | |
.overflow-long-text p { | |
overflow: hidden; | |
text-overflow: ellipsis; | |
word-break: break-word; | |
} | |
/*from one string*/ | |
.overflow-long-string { | |
white-space: nowrap; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
word-break: break-word; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment