4 ms·
You need to test with very long occupation names. How do these tables break text?
by noman-land 3y ago
You need to test with very long occupation names. How do these tables break text?
- andrewfromx 3y agooh i left it out of the example to keep it simple but there is: https://github.com/andrewarrow/a-table-that-looks-good-on-mobile-and-deskto/blob/27d4a501b6550cbb49e100a092bd0555c29db25e/views/_table_large.html#L16 https://github.com/andrewarrow/a-table-that-looks-good-on-mo... {{ $wrap := "whitespace-nowrap" }} and I set: colAttributes := map[int]string{} colAttributes[0] = "w-1/2" https://github.com/andrewarrow/a-table-that-looks-good-on-mobile-and-deskto/blob/27d4a501b6550cbb49e100a092bd0555c29db25e/app/welcome_controller.go#L22 https://github.com/andrewarrow/a-table-that-looks-good-on-mo... to make tailwind handle a column that needs to wrap.