diff --git a/browser/main/TopBar/TopBar.styl b/browser/main/TopBar/TopBar.styl index a34780f5..0a88d32e 100644 --- a/browser/main/TopBar/TopBar.styl +++ b/browser/main/TopBar/TopBar.styl @@ -19,22 +19,17 @@ $control-height = 34px .control-search height 32px + width 1px flex 1 background-color white position relative -.control-search-icon - absolute top bottom left - line-height 32px - padding-left 2px - width 35px - color $ui-inactive-text-color - background-color $ui-noteList-backgroundColor - .control-search-input display block absolute top bottom right - left 30px + width 100% + padding-left 12px + background-color $ui-noteList-backgroundColor input width 100% height 100% @@ -134,6 +129,7 @@ body[data-theme="dark"] background-color $ui-dark-noteList-backgroundColor .control-search-input + background-color $ui-dark-noteList-backgroundColor input background-color $ui-dark-noteList-backgroundColor color $ui-dark-text-color diff --git a/browser/main/TopBar/index.js b/browser/main/TopBar/index.js index f79f4644..66478ecf 100644 --- a/browser/main/TopBar/index.js +++ b/browser/main/TopBar/index.js @@ -205,7 +205,6 @@ class TopBar extends React.Component { >
-
this.handleSearchFocus(e)} onBlur={(e) => this.handleSearchBlur(e)} @@ -216,7 +215,7 @@ class TopBar extends React.Component { ref='searchInput' value={this.state.search} onChange={(e) => this.handleSearchChange(e)} - placeholder='' + placeholder='Search' type='text' className='searchInput' />