diff options
author | Ricardo de Arruda <settiricardo@gmail.com> | 2020-07-01 00:30:23 +0300 |
---|---|---|
committer | Ricardo de Arruda <settiricardo@gmail.com> | 2020-07-01 00:30:23 +0300 |
commit | e41117c8785e414f543501dd4c50c96d5485d694 (patch) | |
tree | c997f5e7a4aa32ac48df543f871c08d3f685a51d /ui/assets | |
parent | 80bca8610eb4cd826578969b0fdd3e3a6b5bfc90 (diff) |
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.
Diffstat (limited to 'ui/assets')
-rw-r--r-- | ui/assets/css/main.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/assets/css/main.css b/ui/assets/css/main.css index c1f004d7..4d9a099f 100644 --- a/ui/assets/css/main.css +++ b/ui/assets/css/main.css @@ -249,3 +249,11 @@ pre { white-space: pre-wrap; word-break: keep-all; } + +.search-bar { + flex-basis: 10%; + flex-shrink: 3; + flex-grow: 0.3; + max-width: 33%; + min-width: 11em; +}
\ No newline at end of file |