Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(demo): don't display navbar text outside of collapsed view #11

Merged
merged 1 commit into from
Nov 5, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
Caitlin Potter committed Nov 5, 2013
commit e98ab59662c24ad70f5a8a29a34b3f8270da93b0
10 changes: 6 additions & 4 deletions misc/demo/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,12 @@ a>.text {
display: none;
}

.in a>.text, .collapsing a>.text {
display: inline;
font-weight: light;
font-size: 16px;
@media (max-width: 767px) {
.in a>.text, .collapsing a>.text {
display: inline;
font-weight: light;
font-size: 16px;
}
}

.clear-square {
Expand Down