Commit faacb785 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

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

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent ad5acec6
...@@ -84,11 +84,13 @@ ...@@ -84,11 +84,13 @@
> .btn { > .btn {
display: inline-block; display: inline-block;
margin-left: 10px; margin-left: 10px;
margin-top: -3px;
} }
input { input {
height: 34px;
display: inline-block; display: inline-block;
position: relative;
top: 1px;
/* Medium devices (desktops, 992px and up) */ /* Medium devices (desktops, 992px and up) */
@media (min-width: $screen-md-min) { width: 200px; } @media (min-width: $screen-md-min) { width: 200px; }
...@@ -105,10 +107,6 @@ ...@@ -105,10 +107,6 @@
} }
} }
.dropdown-toggle.btn {
margin-top: -3px;
}
/* Hide on extra small devices (phones) */ /* Hide on extra small devices (phones) */
@media (max-width: $screen-xs-max) { @media (max-width: $screen-xs-max) {
display: none; display: none;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
= nav_link(page: starred_dashboard_projects_path) do = nav_link(page: starred_dashboard_projects_path) do
= link_to starred_dashboard_projects_path, title: 'Starred Projects', data: {placement: 'right'} do = link_to starred_dashboard_projects_path, title: 'Starred Projects', data: {placement: 'right'} do
Starred Projects 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 = link_to explore_root_path, title: 'Explore', data: {placement: 'right'} do
Explore Projects Explore Projects
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment