Fix layout issue in theme MDL-42596

https://tracker.moodle.org/browse/MDL-42596