docs(demo): don't display navbar text when not collapsed

Adds a simple media query to the .text class to inline it only when
in the .in or .collapsing states, and only when the screen is less than
the minimum "desktop" size in the default bootstrap CSS.