Fix safari code background bug

I did not try to fix the overflow issue as it's quite nasty to fix it when spans and divs are nested in the table in trainings/show.html.erb. We can try to fix it when we've ported to bootstrap 3.