fix: Explore: Query wrapping on long queries #15222

This commit is contained in:
Johannes Schill
2019-02-04 17:26:20 +01:00
parent d4ecba5235
commit 9ab5eeb7f3
6 changed files with 20 additions and 8 deletions

View File

@@ -49,7 +49,7 @@ export default class SelectOptionGroup extends PureComponent<ExtendedGroupProps,
return (
<div className="gf-form-select-box__option-group">
<div className="gf-form-select-box__option-group__header" onClick={this.onToggleChildren}>
<span className="flex-grow">{label}</span>
<span className="flex-grow-1">{label}</span>
<i className={`fa ${expanded ? 'fa-caret-left' : 'fa-caret-down'}`} />{' '}
</div>
{expanded && children}