Skip to content

Commit

Permalink
increased with of summary table in date fields
Browse files Browse the repository at this point in the history
  • Loading branch information
andreadelrio committed Nov 10, 2021
1 parent dedc2e9 commit 95a5d51
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@import 'components/field_data_row/index';

$panelWidthS: #{'max(20%, 225px)'};
$panelWidthM: #{'max(30%, 300px)'};
$panelWidthL: #{'max(40%, 450px)'};

.dvExpandedRow {
Expand Down Expand Up @@ -60,6 +61,11 @@ $panelWidthL: #{'max(40%, 450px)'};
.dvSummaryTable__wrapper {
min-width: $panelWidthS;
max-width: $panelWidthS;

&.dvPanel__dateSummary {
min-width: $panelWidthM;
max-width: $panelWidthM;
}
}

.dvTopValues__wrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const DateContent: FC<FieldDataRowProps> = ({ config }) => {
return (
<ExpandedRowContent dataTestSubj={'dataVisualizerDateContent'}>
<DocumentStatsTable config={config} />
<ExpandedRowPanel className={'dvSummaryTable__wrapper dvPanel__wrapper'}>
<ExpandedRowPanel className={'dvSummaryTable__wrapper dvPanel__wrapper dvPanel__dateSummary'}>
<ExpandedRowFieldHeader>{summaryTableTitle}</ExpandedRowFieldHeader>
<EuiBasicTable<SummaryTableItem>
className={'dvSummaryTable'}
Expand Down

0 comments on commit 95a5d51

Please sign in to comment.