forked from Graylog2/graylog2-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add prop to render help trigger in SearchForm (Graylog2#4734)
`SearchForm` is almost always used with some special query syntax that that users may not know, or may not always remember. That means that almost always there is a help button associated to the `SearchForm`. So far the help button was rendered outside the `SearchForm` component, usually too far away from the text input as to still remain some context. This commit let us render a help button inside the text input, helping users to associate that help with the text that they are supposed to write in that input.
- Loading branch information
Showing
3 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
:local(.helpFeedback).form-control-feedback { | ||
pointer-events: auto; | ||
} | ||
|
||
:local(.helpFeedback) .btn { | ||
max-width: 34px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters