CSS fixes for mod frame

From @creesch