Tried to align form input vertically with other elements for top nav

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2016-02-03 02:01:33 +01:00
parent ad5acec6e5
commit faacb78534
2 changed files with 4 additions and 6 deletions

View file

@ -84,11 +84,13 @@
> .btn {
display: inline-block;
margin-left: 10px;
margin-top: -3px;
}
input {
height: 34px;
display: inline-block;
position: relative;
top: 1px;
/* Medium devices (desktops, 992px and up) */
@media (min-width: $screen-md-min) { width: 200px; }
@ -105,10 +107,6 @@
}
}
.dropdown-toggle.btn {
margin-top: -3px;
}
/* Hide on extra small devices (phones) */
@media (max-width: $screen-xs-max) {
display: none;

View file

@ -8,7 +8,7 @@
= nav_link(page: starred_dashboard_projects_path) do
= link_to starred_dashboard_projects_path, title: 'Starred Projects', data: {placement: 'right'} do
Starred Projects
= nav_link(page: [explore_root_path, trending_explore_projects_path, starred_explore_projects_path, explore_projects_path], html_options: { class: 'hidden-xs' }) do
= nav_link(page: [explore_root_path, trending_explore_projects_path, starred_explore_projects_path, explore_projects_path]) do
= link_to explore_root_path, title: 'Explore', data: {placement: 'right'} do
Explore Projects