Graylog2 / Graylog2/graylog2-server

"Search query syntax documentation" and "Open query history" icons should remain vertically aligned with top of search input

Open Beginner friendly
#27,226 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## Expected Behavior

The `Search query syntax documentation` and `Open query history` icons should remain vertically aligned with the top of the search input when multiline (or very large) queries are provided.

## Current Behavior

When a multiline (or very large) search query is used the `Search query syntax documentation` and `Open query history` icon positions appear to shift.

Image

## Steps to Reproduce (for bugs)

1. Be on Graylog `7.1.8` (but presumably any other version)
2. Go to `/search` and enter a multiline (e.g. 4+) query.
3. Note the `Search query syntax documentation` and `Open query history` icons' vertical positions shift.

## Context

No real issue-- it just doesn't look great :)

## Your Environment

* Graylog Version: `7.1.8`
* Browser version: Chrome `152`, Firefox `154`

## Checklist
[] This issue fix need to be backported.
[] Does this issue have **security** implications?

Contributor guide

Open the contributing guide

Research direction

Start at the `/search` page and reproduce the issue with a multiline query in Chrome or Firefox. Inspect the search input and the `Search query syntax documentation` and `Open query history` icons; done means both icons remain vertically aligned with the top of the input as the query grows.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.