]> Untitled Git - lemmy.git/commit
Replace search button to input field at navbar.
authorRicardo de Arruda <settiricardo@gmail.com>
Tue, 30 Jun 2020 21:30:23 +0000 (00:30 +0300)
committerRicardo de Arruda <settiricardo@gmail.com>
Tue, 30 Jun 2020 21:30:23 +0000 (00:30 +0300)
commite41117c8785e414f543501dd4c50c96d5485d694
treec997f5e7a4aa32ac48df543f871c08d3f685a51d
parent80bca8610eb4cd826578969b0fdd3e3a6b5bfc90
Replace search button to input field at navbar.

* Search input not rendered at /search path.

* Navbar wrapped with withRouter for accessing history props.

* Flex-grow/shrink control the width of the input element dynamically.
ui/assets/css/main.css
ui/src/components/navbar.tsx
ui/src/index.tsx