Reputation: 7419
I included this theme in my website
and It seems label
and select dropdown
can not be aligned well.
How could I fix the the layout broken problem ?
here's the live demo http://lazyair.co/user/index
Upvotes: 1
Views: 50
Reputation: 1469
You should remove margin-top from:
/* line 5, /home/poc/lazy-bird-website/app/assets/stylesheets/city.scss */
#nav-btn-monthly, .btn, .btn-large, .btn-flat {
padding: 0 0.1rem;
width: 90px;
/* margin-top: 20px; */
color: white;
font-size: 1.0rem;
}
Upvotes: 1
Reputation: 462
<button type="button" class="btn dropdown-toggle selectpicker btn-light" data-toggle="dropdown" title="高雄" aria-expanded="false"><span class="filter-option pull-left">高雄</span> <span class="caret"></span></button>
you can remove the top margin from this button for this select field only.
Upvotes: 2
Reputation: 758
Remove the 20px top margin from the drop-down:
.btn.selectpicker{
margin-top:0;
}
Upvotes: 2