mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* Disable responsiveness of table in small screens Disabling the resposiveness of cells and table will avoid showing empty areas around elements of the inspector table. * Fix responsive table in requests view stats * Remove tableLayout inline style
This commit is contained in:
parent
0cd47aad48
commit
afa85699d2
2 changed files with 6 additions and 1 deletions
|
@ -38,6 +38,7 @@ class DataTableFormat extends Component {
|
|||
static renderCell(col, value, isFormatted) {
|
||||
return (
|
||||
<EuiFlexGroup
|
||||
responsive={false}
|
||||
gutterSize="s"
|
||||
alignItems="center"
|
||||
>
|
||||
|
@ -46,6 +47,7 @@ class DataTableFormat extends Component {
|
|||
</EuiFlexItem>
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiFlexGroup
|
||||
responsive={false}
|
||||
gutterSize="none"
|
||||
alignItems="center"
|
||||
>
|
||||
|
@ -128,6 +130,7 @@ class DataTableFormat extends Component {
|
|||
</EuiFlexGroup>
|
||||
<EuiSpacer size="s" />
|
||||
<EuiInMemoryTable
|
||||
responsive={false}
|
||||
className="insDataTableFormat__table"
|
||||
data-test-subj="inspectorTable"
|
||||
columns={columns}
|
||||
|
|
|
@ -65,7 +65,9 @@ class RequestDetailsStats extends Component {
|
|||
const sortedStats = Object.keys(stats).sort().map(name => ({ name, ...stats[name] }));
|
||||
// TODO: Replace by property once available
|
||||
return (
|
||||
<EuiTable style={{ tableLayout: 'auto' }}>
|
||||
<EuiTable
|
||||
responsive={false}
|
||||
>
|
||||
<EuiTableBody>
|
||||
{ sortedStats.map(this.renderStatRow) }
|
||||
</EuiTableBody>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue