Fix search bar focus state and sizing

pull/326/head
Ryan Arthur 7 years ago committed by katibest
parent e9f022adae
commit bc500c6da9
  1. 13
      apps/explorer_web/assets/css/components/navbar.scss

@ -2,7 +2,7 @@
height: 36px;
}
@media (min-width: 992px) {
@include media-breakpoint-up(md) {
.navbar-expand-lg .navbar-nav .nav-link {
padding-left: 1.25rem;
padding-right: 1.25rem;
@ -11,10 +11,19 @@
.navbar .form-control {
background: transparent;
width: calc(43ch + #{$input-padding-x * 2});
width: auto;
font-size: 12px;
border-left: none;
color: $white;
&:focus {
border-color: $input-border-color;
box-shadow: none;
}
@include media-breakpoint-up(xl) {
width: calc(43ch + #{$input-padding-x * 2});
}
}
.navbar .input-group-text {

Loading…
Cancel
Save