`@media only screen and (min-width: 960px) {
.primary-menu .sub-menu { padding: 5px; }
}`
That did the trick. (I used .1rem instead of 5px, though)
What, exactly does that “@media only screen and (min-width:960px)” part do? Is that something the PHP parses to decide whether to use a desktop or mobile layout?