#2636 Funky table width on ticket list pages in safari (and chrome)

v1.0.0
closed
sf-1 (616)
Tracker
nobody
2015-08-20
2011-08-18
Mark Ramm
No

http://sourceforge.net/p/allura/tickets/ has a table too wide for it's container now (on safari): http://screencast.com/t/t6yfE1LrdGBC

Discussion

  • Dave Brondsema

    Dave Brondsema - 2011-08-19
    • component: General --> Tracker
    • size: --> 1
     
  • Jenny Steele - 2011-08-19
    • status: open --> in-progress
    • assigned_to: Jenny Steele
     
  • Jenny Steele - 2011-08-19

    Fix is on allura js/2636. The suggested css fix didn't work because we don't have a width assigned to the cell. Instead, I used js to add a zero-width space to any slashes found inside the text of a link so if it goes too long the text can wrap at a slash. To test, put a long url in the title of a ticket like "test stuff https:/​/​sourceforge.net/​p/​allura/​tickets/​milestone/​aug26/​p/​allura/​tickets/​milestone/​aug26/​p/​allura/​tickets/​milestone/​aug26/​milestone/​aug26/​p/​allura/​tickets/​milestone/​aug26/​p/​allura/​tickets/​milestone/​aug26" and make sure it wraps in chrome and safari.

     
  • Jenny Steele - 2011-08-19
    • status: in-progress --> code-review
    • assigned_to: Jenny Steele --> John Hoffmann ☠
     
  • John Hoffman - 2011-08-22

    Tested fine with a long url; ran the same JS on production and there was no apparent performance impact.

     
  • John Hoffman - 2011-08-22
    • status: code-review --> closed
     

Log in to post a comment.