mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Inspector] Move request details stat row's tooltip icon to right of label (#162377)
Fixes #154874. ## Summary Move tooltip icon placement of inspector stat labels from left to right Previous:  Updated:  ### Checklist - [x] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server)) - [x] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers) ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
5864674ff6
commit
6cb890d160
2 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
.insRequestDetailsStats__icon {
|
||||
margin-right: $euiSizeS;
|
||||
margin-left: $euiSizeXS;
|
||||
}
|
||||
|
||||
.insRequestSelector__singleRequest {
|
||||
|
|
|
@ -37,6 +37,8 @@ export class RequestDetailsStats extends Component<RequestDetailsProps> {
|
|||
return [
|
||||
<EuiTableRow key={stat.id}>
|
||||
<EuiTableRowCell>
|
||||
{stat.label}
|
||||
|
||||
<span className="insRequestDetailsStats__icon">
|
||||
{stat.description ? (
|
||||
<EuiIconTip
|
||||
|
@ -51,7 +53,6 @@ export class RequestDetailsStats extends Component<RequestDetailsProps> {
|
|||
<EuiIcon type="empty" />
|
||||
)}
|
||||
</span>
|
||||
{stat.label}
|
||||
</EuiTableRowCell>
|
||||
<EuiTableRowCell>{stat.value}</EuiTableRowCell>
|
||||
</EuiTableRow>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue