Timeline for Pushing second column to next row if text in first column is long
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 22 at 2:20 | vote | accept | sg552 | ||
Apr 22 at 1:21 | answer | added | dale landry | timeline score: 1 | |
Apr 22 at 1:06 | comment | added | sg552 | I prefer css but js is fine too. Thanks for adding detail comment in your code. Please post your reply as answer. Thanks | |
Apr 20 at 23:18 | comment | added | dale landry | Javascript - You could compare the textContent in a temp element with the parent element and then run a conditional to check the bounding client rect width of each and when you get overflow change the bootstrap classes accordingly to your needs - jsfiddle.net/u56xpv0j/1 | |
Apr 20 at 21:11 | comment | added | dale landry | Are you okay with using javascript? | |
Apr 20 at 19:44 | history | asked | sg552 | CC BY-SA 4.0 |