pedagogy: fix display of guide on smaller devices

Status Job ID Name Coverage
  Test
passed #2508
black

00:01:48

passed #2507
test

00:23:55

63.0%