diff --git a/ui/assets/css/main.css b/ui/assets/css/main.css index a05f5a8ba..fd65148c7 100644 --- a/ui/assets/css/main.css +++ b/ui/assets/css/main.css @@ -252,7 +252,7 @@ pre { .form-control.search-input { float: right !important; - transition: width 0.5s ease-out 0s !important; + transition: width 0.2s ease-out 0s !important; } .show-input { @@ -263,4 +263,4 @@ pre { background: transparent !important; width: 0px !important; padding: 0 !important; - } \ No newline at end of file + } diff --git a/ui/src/components/navbar.tsx b/ui/src/components/navbar.tsx index 7c72d6cd0..53b085e5b 100644 --- a/ui/src/components/navbar.tsx +++ b/ui/src/components/navbar.tsx @@ -245,21 +245,22 @@ export class Navbar extends Component { placeholder={i18n.t('search')} onBlur={linkEvent(this, this.handleSearchBlur)} > -
- -
+ )} -