Perhaps it's not possible to simply throw in a @media CSS sheet for mobile for an example like diff on a small screen.
I think bia3's point (maybe I'm wrong) is that it would be less buggy if it used the same underlying logic as github.com, but perhaps with a modified frontend (ie. m.github.com like the old days)