-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use textarea for query header to make it easier to editing long title #275
Use textarea for query header to make it easier to editing long title #275
Conversation
<input className="QueryHeader-inputTitle" type="text" value={query.title} onChange={handleChangeTitle} /> | ||
<QueryHeaderTitle title={query.title} onChangeTitle={onChangeTitle} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've split query header title into new component for readability.
position: absolute !important; | ||
right: 10px; | ||
top: 6px; | ||
margin: auto 10px auto 20px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use flexbox over position-absolute not to overlap between query header title and select element.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry for late!
Thank you for reviewing! Is there anything I can do for further process? |
This is a working code for #274
With this implementation, query title will behave like this:
output.mp4