From 7e32468bd12819ca21b69bf7ea6ea18a124606a4 Mon Sep 17 00:00:00 2001 From: atanasster Date: Sun, 9 May 2021 08:11:14 +0300 Subject: [PATCH] fix: table header centered labels --- .../__snapshots__/AttributeUsage.test.ts.snap | 3 + .../AttributesUsageDetails.test.ts.snap | 3 + .../AttributesUsageList.test.ts.snap | 6 + .../__snapshots__/ComponentUsage.test.ts.snap | 3 + .../ComponentUsageDetails.test.ts.snap | 3 + .../ComponentUsageList.test.ts.snap | 3 + .../__snapshots__/SidebarsPage.test.ts.snap | 3 + .../ComponentCommits.test.ts.snap | 18 + .../ExternalDependencies.test.ts.snap | 3 + .../LocalDependencies.test.ts.snap | 3 + .../__snapshots__/PropsTable.test.ts.snap | 21 + .../__snapshots__/TestsCoverage.test.ts.snap | 18 + .../src/TestsResults/BaseTestsResults.tsx | 18 +- .../__snapshots__/TestsResults.test.ts.snap | 1422 ++++++++++------- ui/components/src/Table/Table.tsx | 4 +- .../Table/__snapshots__/Table.test.ts.snap | 33 + 16 files changed, 958 insertions(+), 606 deletions(-) diff --git a/plugins/addon-stats/src/ui/AttributeUsage/__snapshots__/AttributeUsage.test.ts.snap b/plugins/addon-stats/src/ui/AttributeUsage/__snapshots__/AttributeUsage.test.ts.snap index 98e0562cf..c82157a8f 100644 --- a/plugins/addon-stats/src/ui/AttributeUsage/__snapshots__/AttributeUsage.test.ts.snap +++ b/plugins/addon-stats/src/ui/AttributeUsage/__snapshots__/AttributeUsage.test.ts.snap @@ -211,6 +211,9 @@ exports[`AttributeUsage overview snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-24 { diff --git a/plugins/addon-stats/src/ui/AttributesUsageDetails/__snapshots__/AttributesUsageDetails.test.ts.snap b/plugins/addon-stats/src/ui/AttributesUsageDetails/__snapshots__/AttributesUsageDetails.test.ts.snap index 105d497c1..e5e79b43b 100644 --- a/plugins/addon-stats/src/ui/AttributesUsageDetails/__snapshots__/AttributesUsageDetails.test.ts.snap +++ b/plugins/addon-stats/src/ui/AttributesUsageDetails/__snapshots__/AttributesUsageDetails.test.ts.snap @@ -211,6 +211,9 @@ exports[`AttributesUsageDetails overview snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-18 { diff --git a/plugins/addon-stats/src/ui/AttributesUsageList/__snapshots__/AttributesUsageList.test.ts.snap b/plugins/addon-stats/src/ui/AttributesUsageList/__snapshots__/AttributesUsageList.test.ts.snap index 2d58ce820..4fcf3d90a 100644 --- a/plugins/addon-stats/src/ui/AttributesUsageList/__snapshots__/AttributesUsageList.test.ts.snap +++ b/plugins/addon-stats/src/ui/AttributesUsageList/__snapshots__/AttributesUsageList.test.ts.snap @@ -211,6 +211,9 @@ exports[`AttributesUsageList overview snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-18 { @@ -732,6 +735,9 @@ exports[`AttributesUsageList overview snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-18 { diff --git a/plugins/addon-stats/src/ui/ComponentUsage/__snapshots__/ComponentUsage.test.ts.snap b/plugins/addon-stats/src/ui/ComponentUsage/__snapshots__/ComponentUsage.test.ts.snap index 018ff41c9..7d2c7c694 100644 --- a/plugins/addon-stats/src/ui/ComponentUsage/__snapshots__/ComponentUsage.test.ts.snap +++ b/plugins/addon-stats/src/ui/ComponentUsage/__snapshots__/ComponentUsage.test.ts.snap @@ -211,6 +211,9 @@ exports[`ComponentUsage overview snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-24 { diff --git a/plugins/addon-stats/src/ui/ComponentUsageDetails/__snapshots__/ComponentUsageDetails.test.ts.snap b/plugins/addon-stats/src/ui/ComponentUsageDetails/__snapshots__/ComponentUsageDetails.test.ts.snap index 692007179..4350d7948 100644 --- a/plugins/addon-stats/src/ui/ComponentUsageDetails/__snapshots__/ComponentUsageDetails.test.ts.snap +++ b/plugins/addon-stats/src/ui/ComponentUsageDetails/__snapshots__/ComponentUsageDetails.test.ts.snap @@ -211,6 +211,9 @@ exports[`ComponentUsageDetails overview snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-18 { diff --git a/plugins/addon-stats/src/ui/ComponentUsageList/__snapshots__/ComponentUsageList.test.ts.snap b/plugins/addon-stats/src/ui/ComponentUsageList/__snapshots__/ComponentUsageList.test.ts.snap index f3165a145..477bc8250 100644 --- a/plugins/addon-stats/src/ui/ComponentUsageList/__snapshots__/ComponentUsageList.test.ts.snap +++ b/plugins/addon-stats/src/ui/ComponentUsageList/__snapshots__/ComponentUsageList.test.ts.snap @@ -211,6 +211,9 @@ exports[`ComponentUsageList overview snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-18 { diff --git a/ui/app/src/SidebarsPage/__snapshots__/SidebarsPage.test.ts.snap b/ui/app/src/SidebarsPage/__snapshots__/SidebarsPage.test.ts.snap index 15ad80be7..b941e96f7 100644 --- a/ui/app/src/SidebarsPage/__snapshots__/SidebarsPage.test.ts.snap +++ b/ui/app/src/SidebarsPage/__snapshots__/SidebarsPage.test.ts.snap @@ -1072,6 +1072,9 @@ exports[`SidebarsPage overview snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-119 { diff --git a/ui/blocks/src/ComponentCommits/__snapshots__/ComponentCommits.test.ts.snap b/ui/blocks/src/ComponentCommits/__snapshots__/ComponentCommits.test.ts.snap index 495589b0c..ce4e06c10 100644 --- a/ui/blocks/src/ComponentCommits/__snapshots__/ComponentCommits.test.ts.snap +++ b/ui/blocks/src/ComponentCommits/__snapshots__/ComponentCommits.test.ts.snap @@ -140,6 +140,9 @@ exports[`ComponentCommits overview snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-16 { @@ -1199,6 +1202,9 @@ exports[`ComponentCommits pagination 0 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-16 { @@ -2263,6 +2269,9 @@ exports[`ComponentCommits pagination 1 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-16 { @@ -3327,6 +3336,9 @@ exports[`ComponentCommits pagination 2 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-16 { @@ -4391,6 +4403,9 @@ exports[`ComponentCommits pagination 3 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-16 { @@ -5279,6 +5294,9 @@ exports[`ComponentCommits pagination 4 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-16 { diff --git a/ui/blocks/src/ComponentDependencies/__snapshots__/ExternalDependencies.test.ts.snap b/ui/blocks/src/ComponentDependencies/__snapshots__/ExternalDependencies.test.ts.snap index 95e35d889..86ebea87b 100644 --- a/ui/blocks/src/ComponentDependencies/__snapshots__/ExternalDependencies.test.ts.snap +++ b/ui/blocks/src/ComponentDependencies/__snapshots__/ExternalDependencies.test.ts.snap @@ -214,6 +214,9 @@ exports[`ExternalDependencies overview snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-17 { diff --git a/ui/blocks/src/ComponentDependencies/__snapshots__/LocalDependencies.test.ts.snap b/ui/blocks/src/ComponentDependencies/__snapshots__/LocalDependencies.test.ts.snap index 1089a1c0e..d9b812850 100644 --- a/ui/blocks/src/ComponentDependencies/__snapshots__/LocalDependencies.test.ts.snap +++ b/ui/blocks/src/ComponentDependencies/__snapshots__/LocalDependencies.test.ts.snap @@ -214,6 +214,9 @@ exports[`LocalDependencies overview snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-14 { diff --git a/ui/blocks/src/PropsTable/__snapshots__/PropsTable.test.ts.snap b/ui/blocks/src/PropsTable/__snapshots__/PropsTable.test.ts.snap index c15089686..6f64b189f 100644 --- a/ui/blocks/src/PropsTable/__snapshots__/PropsTable.test.ts.snap +++ b/ui/blocks/src/PropsTable/__snapshots__/PropsTable.test.ts.snap @@ -311,6 +311,9 @@ exports[`PropsTable controls snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-32 { @@ -1134,6 +1137,9 @@ exports[`PropsTable customTitle snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-27 { @@ -1627,6 +1633,9 @@ exports[`PropsTable extraColumns snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-24 { @@ -3384,6 +3393,9 @@ exports[`PropsTable notCollapsible snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-24 { @@ -3841,6 +3853,9 @@ exports[`PropsTable overview snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-21 { @@ -5412,6 +5427,9 @@ exports[`PropsTable subcomponents snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-22 { @@ -5992,6 +6010,9 @@ exports[`PropsTable title snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-27 { diff --git a/ui/blocks/src/TestsCoverage/__snapshots__/TestsCoverage.test.ts.snap b/ui/blocks/src/TestsCoverage/__snapshots__/TestsCoverage.test.ts.snap index 7eadd9274..2ced2d387 100644 --- a/ui/blocks/src/TestsCoverage/__snapshots__/TestsCoverage.test.ts.snap +++ b/ui/blocks/src/TestsCoverage/__snapshots__/TestsCoverage.test.ts.snap @@ -140,6 +140,9 @@ exports[`TestsCoverage overview snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-25 { @@ -1407,6 +1410,9 @@ exports[`TestsCoverage pagination 0 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-25 { @@ -2358,6 +2364,9 @@ exports[`TestsCoverage pagination 1 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-25 { @@ -3114,6 +3123,9 @@ exports[`TestsCoverage pagination 2 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-25 { @@ -3870,6 +3882,9 @@ exports[`TestsCoverage pagination 3 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-25 { @@ -4785,6 +4800,9 @@ exports[`TestsCoverage pagination 4 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-25 { diff --git a/ui/blocks/src/TestsResults/BaseTestsResults.tsx b/ui/blocks/src/TestsResults/BaseTestsResults.tsx index 60cb53a40..349343840 100644 --- a/ui/blocks/src/TestsResults/BaseTestsResults.tsx +++ b/ui/blocks/src/TestsResults/BaseTestsResults.tsx @@ -116,16 +116,26 @@ export const BaseTestsResults: FC = ({ }, }, { - Header: 'Full name', + Header:
Full name
, accessor: 'fullName', Cell: ({ row: { original: { ancestorTitles }, }, - }) =>
{ancestorTitles.join(' > ')}
, + }) => ( +
+ {ancestorTitles.join(' > ')} +
+ ), }, { - Header: 'Title', + Header:
Title
, accessor: 'title', Cell: ({ row: { @@ -134,7 +144,7 @@ export const BaseTestsResults: FC = ({ }) =>
{title}
, }, { - Header: 'Time(ms)', + Header:
Time(ms)
, accessor: 'duration', Cell: ({ row: { diff --git a/ui/blocks/src/TestsResults/__snapshots__/TestsResults.test.ts.snap b/ui/blocks/src/TestsResults/__snapshots__/TestsResults.test.ts.snap index 0adfc5f4a..bb761e65e 100644 --- a/ui/blocks/src/TestsResults/__snapshots__/TestsResults.test.ts.snap +++ b/ui/blocks/src/TestsResults/__snapshots__/TestsResults.test.ts.snap @@ -140,26 +140,33 @@ exports[`TestsResults overview snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } -.emotion-22 { +.emotion-16 { + text-align: center; +} + +.emotion-25 { box-sizing: border-box; margin: 0; min-width: 0; } -.emotion-22 tr:last-of-type { +.emotion-25 tr:last-of-type { border-bottom: 0; } -.emotion-23 { +.emotion-26 { box-sizing: border-box; margin: 0; min-width: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } -.emotion-24 { +.emotion-27 { box-sizing: border-box; margin: 0; min-width: 0; @@ -183,7 +190,7 @@ exports[`TestsResults overview snapshot 1`] = ` display: flex; } -.emotion-25 { +.emotion-28 { box-sizing: border-box; margin: 0; min-width: 0; @@ -191,7 +198,7 @@ exports[`TestsResults overview snapshot 1`] = ` margin-right: 8px; } -.emotion-27 { +.emotion-30 { box-sizing: border-box; margin: 0; min-width: 0; @@ -202,7 +209,7 @@ exports[`TestsResults overview snapshot 1`] = ` border-bottom: 0; } -.emotion-29 { +.emotion-32 { box-sizing: border-box; margin: 0; min-width: 0; @@ -215,15 +222,21 @@ exports[`TestsResults overview snapshot 1`] = ` border: 2px solid #4caf50; } -.emotion-33 { +.emotion-35 { + white-space: nowrap; + text-overflow: ellipsis; + max-width: 400px; +} + +.emotion-37 { font-weight: bolder; } -.emotion-35 { +.emotion-39 { text-align: end; } -.emotion-49 { +.emotion-54 { box-sizing: border-box; margin: 0; min-width: 0; @@ -236,7 +249,7 @@ exports[`TestsResults overview snapshot 1`] = ` border: 2px solid #f44336; } -.emotion-51 { +.emotion-56 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -250,7 +263,7 @@ exports[`TestsResults overview snapshot 1`] = ` align-items: center; } -.emotion-60 { +.emotion-66 { box-sizing: border-box; margin: 0; min-width: 0; @@ -263,7 +276,7 @@ exports[`TestsResults overview snapshot 1`] = ` border: 2px solid #9ea7ad; } -.emotion-70 { +.emotion-77 { box-sizing: border-box; margin: 0; min-width: 0; @@ -276,7 +289,7 @@ exports[`TestsResults overview snapshot 1`] = ` border: 2px solid #fce83a; } -.emotion-80 { +.emotion-88 { box-sizing: border-box; margin: 0; min-width: 0; @@ -289,7 +302,7 @@ exports[`TestsResults overview snapshot 1`] = ` border: 2px solid #fab305; } -.emotion-90 { +.emotion-99 { box-sizing: border-box; margin: 0; min-width: 0; @@ -302,7 +315,7 @@ exports[`TestsResults overview snapshot 1`] = ` border: 2px solid #39ccff; } -.emotion-117 { +.emotion-129 { box-sizing: border-box; margin: 0; min-width: 0; @@ -325,7 +338,7 @@ exports[`TestsResults overview snapshot 1`] = ` padding-bottom: 8px; } -.emotion-118 { +.emotion-130 { box-sizing: border-box; margin: 0; min-width: 0; @@ -344,7 +357,7 @@ exports[`TestsResults overview snapshot 1`] = ` padding-right: 16px; } -.emotion-119 { +.emotion-131 { box-sizing: border-box; margin: 0; min-width: 0; @@ -361,7 +374,7 @@ exports[`TestsResults overview snapshot 1`] = ` align-items: center; } -.emotion-120 { +.emotion-132 { box-sizing: border-box; margin: 0; min-width: 0; @@ -380,13 +393,13 @@ exports[`TestsResults overview snapshot 1`] = ` padding-right: 8px; } -.emotion-120 button { +.emotion-132 button { width: 50px; margin-left: 2px; margin-right: 2px; } -.emotion-121 { +.emotion-133 { box-sizing: border-box; margin: 0; min-width: 0; @@ -395,7 +408,7 @@ exports[`TestsResults overview snapshot 1`] = ` margin-right: 2px; } -.emotion-122 { +.emotion-134 { box-sizing: border-box; margin: 0; min-width: 0; @@ -423,7 +436,7 @@ exports[`TestsResults overview snapshot 1`] = ` box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 1px inset; } -.emotion-122:disabled { +.emotion-134:disabled { color: #aaa; } @@ -502,7 +515,11 @@ exports[`TestsResults overview snapshot 1`] = `
- Full name +
+ Full name +
@@ -519,7 +536,11 @@ exports[`TestsResults overview snapshot 1`] = `
- Title +
+ Title +
@@ -536,25 +557,29 @@ exports[`TestsResults overview snapshot 1`] = `
- Time(ms) +
+ Time(ms) +
@@ -575,7 +600,7 @@ exports[`TestsResults overview snapshot 1`] = ` Table.test.ts(12 tests) @@ -583,21 +608,21 @@ exports[`TestsResults overview snapshot 1`] = ` -
+
Table
overview
196
-
+
Table
noHeader
91
@@ -747,53 +776,55 @@ exports[`TestsResults overview snapshot 1`] = ` -
+
Table
editing
33
-
+
Table
disable
33
-
+
Table
pending
33
-
+
Table
skipped
33
-
+
Table
todo
33
-
+
Table
rowSelect
144
-
+
Table
pagination
169
@@ -1129,53 +1172,53 @@ exports[`TestsResults overview snapshot 1`] = `
total 12 tests
@@ -1330,26 +1373,33 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.emotion-16 { + text-align: center; } -.emotion-22 { +.emotion-25 { box-sizing: border-box; margin: 0; min-width: 0; } -.emotion-22 tr:last-of-type { +.emotion-25 tr:last-of-type { border-bottom: 0; } -.emotion-23 { +.emotion-26 { box-sizing: border-box; margin: 0; min-width: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } -.emotion-24 { +.emotion-27 { box-sizing: border-box; margin: 0; min-width: 0; @@ -1373,7 +1423,7 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` display: flex; } -.emotion-25 { +.emotion-28 { box-sizing: border-box; margin: 0; min-width: 0; @@ -1381,7 +1431,7 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` margin-right: 8px; } -.emotion-27 { +.emotion-30 { box-sizing: border-box; margin: 0; min-width: 0; @@ -1392,7 +1442,7 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` border-bottom: 0; } -.emotion-29 { +.emotion-32 { box-sizing: border-box; margin: 0; min-width: 0; @@ -1405,15 +1455,21 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` border: 2px solid #4caf50; } -.emotion-33 { +.emotion-35 { + white-space: nowrap; + text-overflow: ellipsis; + max-width: 400px; +} + +.emotion-37 { font-weight: bolder; } -.emotion-35 { +.emotion-39 { text-align: end; } -.emotion-49 { +.emotion-54 { box-sizing: border-box; margin: 0; min-width: 0; @@ -1426,7 +1482,7 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` border: 2px solid #f44336; } -.emotion-51 { +.emotion-56 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1440,7 +1496,7 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` align-items: center; } -.emotion-60 { +.emotion-66 { box-sizing: border-box; margin: 0; min-width: 0; @@ -1453,7 +1509,7 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` border: 2px solid #9ea7ad; } -.emotion-70 { +.emotion-77 { box-sizing: border-box; margin: 0; min-width: 0; @@ -1466,7 +1522,7 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` border: 2px solid #fce83a; } -.emotion-80 { +.emotion-88 { box-sizing: border-box; margin: 0; min-width: 0; @@ -1479,7 +1535,7 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` border: 2px solid #fab305; } -.emotion-87 { +.emotion-96 { box-sizing: border-box; margin: 0; min-width: 0; @@ -1502,7 +1558,7 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` padding-bottom: 8px; } -.emotion-88 { +.emotion-97 { box-sizing: border-box; margin: 0; min-width: 0; @@ -1521,7 +1577,7 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` padding-right: 16px; } -.emotion-89 { +.emotion-98 { box-sizing: border-box; margin: 0; min-width: 0; @@ -1538,7 +1594,7 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` align-items: center; } -.emotion-90 { +.emotion-99 { box-sizing: border-box; margin: 0; min-width: 0; @@ -1557,13 +1613,13 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` padding-right: 8px; } -.emotion-90 button { +.emotion-99 button { width: 50px; margin-left: 2px; margin-right: 2px; } -.emotion-91 { +.emotion-100 { box-sizing: border-box; margin: 0; min-width: 0; @@ -1572,7 +1628,7 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` margin-right: 2px; } -.emotion-92 { +.emotion-101 { box-sizing: border-box; margin: 0; min-width: 0; @@ -1600,7 +1656,7 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 1px inset; } -.emotion-92:disabled { +.emotion-101:disabled { color: #aaa; } @@ -1679,7 +1735,11 @@ exports[`TestsResults pagination 0 snapshot 1`] = `
- Full name +
+ Full name +
@@ -1696,7 +1756,11 @@ exports[`TestsResults pagination 0 snapshot 1`] = `
- Title +
+ Title +
@@ -1713,25 +1777,29 @@ exports[`TestsResults pagination 0 snapshot 1`] = `
- Time(ms) +
+ Time(ms) +
@@ -1752,7 +1820,7 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` Table.test.ts(12 tests) @@ -1760,21 +1828,21 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` -
+
Table
overview
196
-
+
Table
noHeader
91
@@ -1924,53 +1996,55 @@ exports[`TestsResults pagination 0 snapshot 1`] = ` -
+
Table
editing
33
-
+
Table
disable
33
-
+
Table
pending
33
-
+
Table
skipped
33
@@ -2132,53 +2212,53 @@ exports[`TestsResults pagination 0 snapshot 1`] = `
Total: 12 records
@@ -2333,26 +2413,33 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } -.emotion-22 { +.emotion-16 { + text-align: center; +} + +.emotion-25 { box-sizing: border-box; margin: 0; min-width: 0; } -.emotion-22 tr:last-of-type { +.emotion-25 tr:last-of-type { border-bottom: 0; } -.emotion-23 { +.emotion-26 { box-sizing: border-box; margin: 0; min-width: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } -.emotion-24 { +.emotion-27 { box-sizing: border-box; margin: 0; min-width: 0; @@ -2376,7 +2463,7 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` display: flex; } -.emotion-25 { +.emotion-28 { box-sizing: border-box; margin: 0; min-width: 0; @@ -2384,7 +2471,7 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` margin-right: 8px; } -.emotion-27 { +.emotion-30 { box-sizing: border-box; margin: 0; min-width: 0; @@ -2395,7 +2482,7 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` border-bottom: 0; } -.emotion-29 { +.emotion-32 { box-sizing: border-box; margin: 0; min-width: 0; @@ -2408,15 +2495,21 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` border: 2px solid #4caf50; } -.emotion-33 { +.emotion-35 { + white-space: nowrap; + text-overflow: ellipsis; + max-width: 400px; +} + +.emotion-37 { font-weight: bolder; } -.emotion-35 { +.emotion-39 { text-align: end; } -.emotion-49 { +.emotion-54 { box-sizing: border-box; margin: 0; min-width: 0; @@ -2429,7 +2522,7 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` border: 2px solid #f44336; } -.emotion-51 { +.emotion-56 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -2443,7 +2536,7 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` align-items: center; } -.emotion-60 { +.emotion-66 { box-sizing: border-box; margin: 0; min-width: 0; @@ -2456,7 +2549,7 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` border: 2px solid #9ea7ad; } -.emotion-67 { +.emotion-74 { box-sizing: border-box; margin: 0; min-width: 0; @@ -2479,7 +2572,7 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` padding-bottom: 8px; } -.emotion-68 { +.emotion-75 { box-sizing: border-box; margin: 0; min-width: 0; @@ -2498,7 +2591,7 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` padding-right: 16px; } -.emotion-69 { +.emotion-76 { box-sizing: border-box; margin: 0; min-width: 0; @@ -2515,7 +2608,7 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` align-items: center; } -.emotion-70 { +.emotion-77 { box-sizing: border-box; margin: 0; min-width: 0; @@ -2534,13 +2627,13 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` padding-right: 8px; } -.emotion-70 button { +.emotion-77 button { width: 50px; margin-left: 2px; margin-right: 2px; } -.emotion-71 { +.emotion-78 { box-sizing: border-box; margin: 0; min-width: 0; @@ -2549,7 +2642,7 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` margin-right: 2px; } -.emotion-72 { +.emotion-79 { box-sizing: border-box; margin: 0; min-width: 0; @@ -2577,7 +2670,7 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 1px inset; } -.emotion-72:disabled { +.emotion-79:disabled { color: #aaa; } @@ -2656,7 +2749,11 @@ exports[`TestsResults pagination 1 snapshot 1`] = `
- Full name +
+ Full name +
@@ -2673,7 +2770,11 @@ exports[`TestsResults pagination 1 snapshot 1`] = `
- Title +
+ Title +
@@ -2690,25 +2791,29 @@ exports[`TestsResults pagination 1 snapshot 1`] = `
- Time(ms) +
+ Time(ms) +
@@ -2729,7 +2834,7 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` Table.test.ts(12 tests) @@ -2737,21 +2842,21 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` -
+
Table
overview
196
-
+
Table
noHeader
91
@@ -2901,53 +3010,55 @@ exports[`TestsResults pagination 1 snapshot 1`] = ` -
+
Table
editing
33
-
+
Table
disable
33
@@ -2993,53 +3106,53 @@ exports[`TestsResults pagination 1 snapshot 1`] = `
Total: 12 records
@@ -3194,26 +3307,33 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.emotion-16 { + text-align: center; } -.emotion-22 { +.emotion-25 { box-sizing: border-box; margin: 0; min-width: 0; } -.emotion-22 tr:last-of-type { +.emotion-25 tr:last-of-type { border-bottom: 0; } -.emotion-23 { +.emotion-26 { box-sizing: border-box; margin: 0; min-width: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } -.emotion-24 { +.emotion-27 { box-sizing: border-box; margin: 0; min-width: 0; @@ -3237,7 +3357,7 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` display: flex; } -.emotion-25 { +.emotion-28 { box-sizing: border-box; margin: 0; min-width: 0; @@ -3245,7 +3365,7 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` margin-right: 8px; } -.emotion-27 { +.emotion-30 { box-sizing: border-box; margin: 0; min-width: 0; @@ -3256,7 +3376,7 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` border-bottom: 0; } -.emotion-29 { +.emotion-32 { box-sizing: border-box; margin: 0; min-width: 0; @@ -3269,15 +3389,21 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` border: 2px solid #4caf50; } -.emotion-33 { +.emotion-35 { + white-space: nowrap; + text-overflow: ellipsis; + max-width: 400px; +} + +.emotion-37 { font-weight: bolder; } -.emotion-35 { +.emotion-39 { text-align: end; } -.emotion-49 { +.emotion-54 { box-sizing: border-box; margin: 0; min-width: 0; @@ -3290,7 +3416,7 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` border: 2px solid #f44336; } -.emotion-51 { +.emotion-56 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3304,7 +3430,7 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` align-items: center; } -.emotion-60 { +.emotion-66 { box-sizing: border-box; margin: 0; min-width: 0; @@ -3317,7 +3443,7 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` border: 2px solid #9ea7ad; } -.emotion-70 { +.emotion-77 { box-sizing: border-box; margin: 0; min-width: 0; @@ -3330,7 +3456,7 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` border: 2px solid #fce83a; } -.emotion-77 { +.emotion-85 { box-sizing: border-box; margin: 0; min-width: 0; @@ -3353,7 +3479,7 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` padding-bottom: 8px; } -.emotion-78 { +.emotion-86 { box-sizing: border-box; margin: 0; min-width: 0; @@ -3372,7 +3498,7 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` padding-right: 16px; } -.emotion-79 { +.emotion-87 { box-sizing: border-box; margin: 0; min-width: 0; @@ -3389,7 +3515,7 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` align-items: center; } -.emotion-80 { +.emotion-88 { box-sizing: border-box; margin: 0; min-width: 0; @@ -3408,13 +3534,13 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` padding-right: 8px; } -.emotion-80 button { +.emotion-88 button { width: 50px; margin-left: 2px; margin-right: 2px; } -.emotion-81 { +.emotion-89 { box-sizing: border-box; margin: 0; min-width: 0; @@ -3423,7 +3549,7 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` margin-right: 2px; } -.emotion-82 { +.emotion-90 { box-sizing: border-box; margin: 0; min-width: 0; @@ -3451,7 +3577,7 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 1px inset; } -.emotion-82:disabled { +.emotion-90:disabled { color: #aaa; } @@ -3530,7 +3656,11 @@ exports[`TestsResults pagination 2 snapshot 1`] = `
- Full name +
+ Full name +
@@ -3547,7 +3677,11 @@ exports[`TestsResults pagination 2 snapshot 1`] = `
- Title +
+ Title +
@@ -3564,25 +3698,29 @@ exports[`TestsResults pagination 2 snapshot 1`] = `
- Time(ms) +
+ Time(ms) +
@@ -3603,7 +3741,7 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` Table.test.ts(12 tests) @@ -3611,21 +3749,21 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` -
+
Table
overview
196
-
+
Table
noHeader
91
@@ -3775,53 +3917,55 @@ exports[`TestsResults pagination 2 snapshot 1`] = ` -
+
Table
editing
33
-
+
Table
disable
33
-
+
Table
pending
33
@@ -3925,53 +4073,53 @@ exports[`TestsResults pagination 2 snapshot 1`] = `
Total: 12 records
@@ -4126,26 +4274,33 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } -.emotion-22 { +.emotion-16 { + text-align: center; +} + +.emotion-25 { box-sizing: border-box; margin: 0; min-width: 0; } -.emotion-22 tr:last-of-type { +.emotion-25 tr:last-of-type { border-bottom: 0; } -.emotion-23 { +.emotion-26 { box-sizing: border-box; margin: 0; min-width: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } -.emotion-24 { +.emotion-27 { box-sizing: border-box; margin: 0; min-width: 0; @@ -4169,7 +4324,7 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` display: flex; } -.emotion-25 { +.emotion-28 { box-sizing: border-box; margin: 0; min-width: 0; @@ -4177,7 +4332,7 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` margin-right: 8px; } -.emotion-27 { +.emotion-30 { box-sizing: border-box; margin: 0; min-width: 0; @@ -4188,7 +4343,7 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` border-bottom: 0; } -.emotion-29 { +.emotion-32 { box-sizing: border-box; margin: 0; min-width: 0; @@ -4201,15 +4356,21 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` border: 2px solid #4caf50; } -.emotion-33 { +.emotion-35 { + white-space: nowrap; + text-overflow: ellipsis; + max-width: 400px; +} + +.emotion-37 { font-weight: bolder; } -.emotion-35 { +.emotion-39 { text-align: end; } -.emotion-49 { +.emotion-54 { box-sizing: border-box; margin: 0; min-width: 0; @@ -4222,7 +4383,7 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` border: 2px solid #f44336; } -.emotion-51 { +.emotion-56 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -4236,7 +4397,7 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` align-items: center; } -.emotion-60 { +.emotion-66 { box-sizing: border-box; margin: 0; min-width: 0; @@ -4249,7 +4410,7 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` border: 2px solid #9ea7ad; } -.emotion-70 { +.emotion-77 { box-sizing: border-box; margin: 0; min-width: 0; @@ -4262,7 +4423,7 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` border: 2px solid #fce83a; } -.emotion-80 { +.emotion-88 { box-sizing: border-box; margin: 0; min-width: 0; @@ -4275,7 +4436,7 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` border: 2px solid #fab305; } -.emotion-90 { +.emotion-99 { box-sizing: border-box; margin: 0; min-width: 0; @@ -4288,7 +4449,7 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` border: 2px solid #39ccff; } -.emotion-97 { +.emotion-107 { box-sizing: border-box; margin: 0; min-width: 0; @@ -4311,7 +4472,7 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` padding-bottom: 8px; } -.emotion-98 { +.emotion-108 { box-sizing: border-box; margin: 0; min-width: 0; @@ -4330,7 +4491,7 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` padding-right: 16px; } -.emotion-99 { +.emotion-109 { box-sizing: border-box; margin: 0; min-width: 0; @@ -4347,7 +4508,7 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` align-items: center; } -.emotion-100 { +.emotion-110 { box-sizing: border-box; margin: 0; min-width: 0; @@ -4366,13 +4527,13 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` padding-right: 8px; } -.emotion-100 button { +.emotion-110 button { width: 50px; margin-left: 2px; margin-right: 2px; } -.emotion-101 { +.emotion-111 { box-sizing: border-box; margin: 0; min-width: 0; @@ -4381,7 +4542,7 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` margin-right: 2px; } -.emotion-102 { +.emotion-112 { box-sizing: border-box; margin: 0; min-width: 0; @@ -4409,7 +4570,7 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 1px inset; } -.emotion-102:disabled { +.emotion-112:disabled { color: #aaa; } @@ -4488,7 +4649,11 @@ exports[`TestsResults pagination 3 snapshot 1`] = `
- Full name +
+ Full name +
@@ -4505,7 +4670,11 @@ exports[`TestsResults pagination 3 snapshot 1`] = `
- Title +
+ Title +
@@ -4522,25 +4691,29 @@ exports[`TestsResults pagination 3 snapshot 1`] = `
- Time(ms) +
+ Time(ms) +
@@ -4561,7 +4734,7 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` Table.test.ts(12 tests) @@ -4569,21 +4742,21 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` -
+
Table
overview
196
-
+
Table
noHeader
91
@@ -4733,53 +4910,55 @@ exports[`TestsResults pagination 3 snapshot 1`] = ` -
+
Table
editing
33
-
+
Table
disable
33
-
+
Table
pending
33
-
+
Table
skipped
33
-
+
Table
todo
33
@@ -4999,53 +5186,53 @@ exports[`TestsResults pagination 3 snapshot 1`] = `
Total: 12 records
@@ -5200,26 +5387,33 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; +} + +.emotion-16 { + text-align: center; } -.emotion-22 { +.emotion-25 { box-sizing: border-box; margin: 0; min-width: 0; } -.emotion-22 tr:last-of-type { +.emotion-25 tr:last-of-type { border-bottom: 0; } -.emotion-23 { +.emotion-26 { box-sizing: border-box; margin: 0; min-width: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } -.emotion-24 { +.emotion-27 { box-sizing: border-box; margin: 0; min-width: 0; @@ -5243,7 +5437,7 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` display: flex; } -.emotion-25 { +.emotion-28 { box-sizing: border-box; margin: 0; min-width: 0; @@ -5251,7 +5445,7 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` margin-right: 8px; } -.emotion-27 { +.emotion-30 { box-sizing: border-box; margin: 0; min-width: 0; @@ -5262,7 +5456,7 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` border-bottom: 0; } -.emotion-29 { +.emotion-32 { box-sizing: border-box; margin: 0; min-width: 0; @@ -5275,15 +5469,21 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` border: 2px solid #4caf50; } -.emotion-33 { +.emotion-35 { + white-space: nowrap; + text-overflow: ellipsis; + max-width: 400px; +} + +.emotion-37 { font-weight: bolder; } -.emotion-35 { +.emotion-39 { text-align: end; } -.emotion-49 { +.emotion-54 { box-sizing: border-box; margin: 0; min-width: 0; @@ -5296,7 +5496,7 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` border: 2px solid #f44336; } -.emotion-51 { +.emotion-56 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -5310,7 +5510,7 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` align-items: center; } -.emotion-60 { +.emotion-66 { box-sizing: border-box; margin: 0; min-width: 0; @@ -5323,7 +5523,7 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` border: 2px solid #9ea7ad; } -.emotion-67 { +.emotion-74 { box-sizing: border-box; margin: 0; min-width: 0; @@ -5346,7 +5546,7 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` padding-bottom: 8px; } -.emotion-68 { +.emotion-75 { box-sizing: border-box; margin: 0; min-width: 0; @@ -5365,7 +5565,7 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` padding-right: 16px; } -.emotion-69 { +.emotion-76 { box-sizing: border-box; margin: 0; min-width: 0; @@ -5382,7 +5582,7 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` align-items: center; } -.emotion-70 { +.emotion-77 { box-sizing: border-box; margin: 0; min-width: 0; @@ -5401,13 +5601,13 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` padding-right: 8px; } -.emotion-70 button { +.emotion-77 button { width: 50px; margin-left: 2px; margin-right: 2px; } -.emotion-71 { +.emotion-78 { box-sizing: border-box; margin: 0; min-width: 0; @@ -5416,7 +5616,7 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` margin-right: 2px; } -.emotion-72 { +.emotion-79 { box-sizing: border-box; margin: 0; min-width: 0; @@ -5444,11 +5644,11 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 1px inset; } -.emotion-72:disabled { +.emotion-79:disabled { color: #aaa; } -.emotion-79 { +.emotion-86 { box-sizing: border-box; margin: 0; min-width: 0; @@ -5531,7 +5731,11 @@ exports[`TestsResults pagination 4 snapshot 1`] = `
- Full name +
+ Full name +
@@ -5548,7 +5752,11 @@ exports[`TestsResults pagination 4 snapshot 1`] = `
- Title +
+ Title +
@@ -5565,25 +5773,29 @@ exports[`TestsResults pagination 4 snapshot 1`] = `
- Time(ms) +
+ Time(ms) +
@@ -5604,7 +5816,7 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` Table.test.ts(12 tests) @@ -5612,21 +5824,21 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` -
+
Table
overview
196
-
+
Table
noHeader
91
@@ -5776,53 +5992,55 @@ exports[`TestsResults pagination 4 snapshot 1`] = ` -
+
Table
editing
33
-
+
Table
disable
33
@@ -5868,60 +6088,60 @@ exports[`TestsResults pagination 4 snapshot 1`] = `
Total: 12 records
Page 1 of 3
diff --git a/ui/components/src/Table/Table.tsx b/ui/components/src/Table/Table.tsx index 5be173b7e..189fe19c1 100644 --- a/ui/components/src/Table/Table.tsx +++ b/ui/components/src/Table/Table.tsx @@ -254,7 +254,9 @@ export function Table({ alignItems: 'center ', }} > - {column.render('Header')} + + {column.render('Header')} + {sorting && column.isSorted && (column.isSortedDesc ? ( diff --git a/ui/components/src/Table/__snapshots__/Table.test.ts.snap b/ui/components/src/Table/__snapshots__/Table.test.ts.snap index 5b91ca8ec..69225fddd 100644 --- a/ui/components/src/Table/__snapshots__/Table.test.ts.snap +++ b/ui/components/src/Table/__snapshots__/Table.test.ts.snap @@ -80,6 +80,9 @@ exports[`Table editing snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-6 { @@ -243,6 +246,9 @@ exports[`Table filterable snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-22 { @@ -793,6 +799,9 @@ exports[`Table grouping snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-21 { @@ -1421,6 +1430,9 @@ exports[`Table overview snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-18 { @@ -1833,6 +1845,9 @@ exports[`Table pagination 0 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-21 { @@ -2521,6 +2536,9 @@ exports[`Table pagination 1 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-21 { @@ -3358,6 +3376,9 @@ exports[`Table pagination 2 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-21 { @@ -4205,6 +4226,9 @@ exports[`Table pagination 3 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-21 { @@ -4940,6 +4964,9 @@ exports[`Table pagination 4 snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-21 { @@ -5975,6 +6002,9 @@ exports[`Table rowSelect snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-6 { @@ -6833,6 +6863,9 @@ exports[`Table sortable snapshot 1`] = ` margin: 0; min-width: 0; margin-right: 4px; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .emotion-21 {