Skip to content

Commit 50addd6

Browse files
committed
fix pe rLHC periods
1 parent a7b7ea4 commit 50addd6

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

lib/public/components/TabbedPanel/tabbedPanelComponent.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import { tabLink } from '../common/navigation/tabLink.js';
1414
*/
1515
export const tabbedPanelComponent = (tabbedPanelModel, panelsTitles, panelsBodies, configuration) => {
1616
const { panelClass = 'p2' } = configuration || {};
17-
1817
return [
1918
h(
2019
'ul.nav.nav-tabs',

lib/public/views/Runs/RunPerPeriod/RunsPerLhcPeriodOverviewPage.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export const RunsPerLhcPeriodOverviewPage = ({ runs: { perLhcPeriodOverviewModel
8282
* @param {object} detectorsActiveColumns active columns
8383
* @return {Component} table with pagination
8484
*/
85-
const getTableWithGivenDetectorsColumns = (detectorsActiveColumns) => h('.flex-column.w-100', [
85+
const getTableWithGivenDetectorsColumns = (detectorsActiveColumns) =>
8686
table(
8787

8888
/*
@@ -100,16 +100,14 @@ export const RunsPerLhcPeriodOverviewPage = ({ runs: { perLhcPeriodOverviewModel
100100
...displayOptions,
101101
},
102102
{ sort: sortModel },
103-
),
104-
paginationComponent(perLhcPeriodOverviewModel.pagination),
105-
]);
103+
);
106104

107-
return h('', [
105+
return h('.intermediate-flex-column', [
108106
h('.flex-row.justify-between.g2', [
109107
h('h2', `Good, physics runs of ${lhcPeriodName}`),
110108
exportRunsTriggerAndModal(perLhcPeriodOverviewModel, modalModel),
111109
]),
112-
tabbedPanelComponent(
110+
...tabbedPanelComponent(
113111
tabbedPanelModel,
114112
{
115113
[RUNS_PER_LHC_PERIOD_PANELS_KEYS.DETECTOR_QUALITIES]: 'Qualities of detectors',
@@ -131,7 +129,10 @@ export const RunsPerLhcPeriodOverviewPage = ({ runs: { perLhcPeriodOverviewModel
131129
},
132130
)),
133131
},
132+
{
133+
panelClass: ['p2', 'scroll-auto'],
134+
}
134135
),
135-
136+
paginationComponent(perLhcPeriodOverviewModel.pagination),
136137
]);
137138
};

0 commit comments

Comments
 (0)