ensure that any buttons and inputs will not mess up navbar alignment
This commit is contained in:
parent
8855781de8
commit
9ba4c56c39
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue