Skip to content

Commit

Permalink
Vertically align the text in QueryStringInputUI with other elements o…
Browse files Browse the repository at this point in the history
…n the page (#5780)

Signed-off-by: Miki <[email protected]>
  • Loading branch information
AMoo-Miki authored Feb 2, 2024
1 parent 1ba45a7 commit 1095c8a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/plugins/data/public/ui/query_string_input/_query_bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@

// Unlike most inputs within layout control groups, the text area still needs a border.
// These adjusts help it sit above the control groups shadow to line up correctly.
padding: $euiSizeS;
padding-top: $euiSizeS + 3px;
transform: translateY(-1px) translateX(-1px);
padding: ($euiSizeS + 2px) $euiSizeS $euiSizeS;
transform: translateY(-2px) translateX(-1px);

&:not(:focus):not(:invalid) {
@include euiYScrollWithShadows;
Expand Down

0 comments on commit 1095c8a

Please sign in to comment.