File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -268,6 +268,11 @@ export function initRepositoryActionView() {
268268 const el = document .getElementById (' repo-action-view' );
269269 if (! el) return ;
270270
271+ // TODO: the parent element's full height doesn't work well now,
272+ // but we can not pollute the global style at the moment, only fix the height problem for pages with this component
273+ const parentFullHeight = document .querySelector (' body > div.full.height' );
274+ if (parentFullHeight) parentFullHeight .style .paddingBottom = ' 0' ;
275+
271276 const view = createApp (sfc, {
272277 runIndex: el .getAttribute (' data-run-index' ),
273278 jobIndex: el .getAttribute (' data-job-index' ),
@@ -412,11 +417,6 @@ export function initRepositoryActionView() {
412417< style lang= " less" >
413418// some elements are not managed by vue, so we need to use global style
414419
415- // TODO: the parent element's full height doesn't work well now
416- body > div .full .height {
417- padding- bottom: 0 ;
418- }
419-
420420.job - status- rotate {
421421 animation: job- status- rotate- keyframes 1s linear infinite;
422422}
You can’t perform that action at this time.
0 commit comments