Browse Source

ensure that any buttons and inputs will not mess up navbar alignment

Owen Versteeg 11 years ago
parent
commit
9ba4c56c39
1 changed files with 5 additions and 0 deletions
  1. 5 0
      less/navbar.less

+ 5 - 0
less/navbar.less

@@ -25,6 +25,11 @@
 	}
 }
 
+.navbar input, .navbar button {
+	margin-top: -20px; 
+	/* This ensures that any buttons and inputs in the navbar will not mess up its vertical alignment */
+}
+
 @media (max-width:500px) {
 	.navbar a {
 		text-align: center;