Commit 3d420312 authored by Erik Luo's avatar Erik Luo Committed by Commit Bot

DevTools: fix vertical alignment of searchable view

This CL adds extra space above the search controls to make vertical
padding symmetric.

Screenshot: https://imgur.com/a/Txjbq

Bug: nonw
Change-Id: I1d8151a8320897c40b621f32d8c6960dab8d977b
Reviewed-on: https://chromium-review.googlesource.com/981174Reviewed-by: default avatarAndrey Lushnikov <lushnikov@chromium.org>
Commit-Queue: Erik Luo <luoe@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547768}
parent 9fe71dfd
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
*/ */
.search-bar { .search-bar {
flex: 0 0 29px; flex: 0 0 31px;
background-color: #eee; background-color: #eee;
border-top: 1px solid #ccc; border-top: 1px solid #ccc;
display: flex; display: flex;
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
} }
.search-bar.replaceable { .search-bar.replaceable {
flex: 0 0 55px; flex: 0 0 57px;
} }
.search-replace { .search-replace {
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
} }
.toolbar-search > div { .toolbar-search > div {
margin: 0px 2px; margin: 2px 2px;
flex-shrink: 0; flex-shrink: 0;
} }
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
} }
.toolbar-search > .replace-toggle-toolbar { .toolbar-search > .replace-toggle-toolbar {
margin: 0 -3px 0 0; margin: 2px -2px 0 0;
} }
.toolbar-search-options { .toolbar-search-options {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment