Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f0c7382

Browse files
risshezr-ondrej
authored andcommittedNov 13, 2024·
Adjust footer layout and flex changes for wizard content
1 parent 5f1c610 commit f0c7382

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed
 

‎src/Components/CreateImageWizard/CreateImageWizard.scss

+2-14
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,6 @@ div.pf-v5-c-alert.pf-m-inline.pf-m-plain.pf-m-warning {
8585
display: flex
8686
}
8787

88-
.repo-step .content-container {
89-
flex-grow: 1;
90-
overflow-y: auto; /* Allow scrolling within the repo list area */
91-
max-height: 600px; /* Keeps the content within a limited height */
92-
}
93-
9488
.pf-v5-c-wizard__main {
9589
/* TO DO: This part of the code is responsible for the Wizard footer being fixed
9690
at the bottom of the page. Unfortunately there's a new bug that's at least
@@ -100,19 +94,13 @@ div.pf-v5-c-alert.pf-m-inline.pf-m-plain.pf-m-warning {
10094
Temporarily commenting out this code, until we figure out how the handle
10195
this bug.
10296
*/
103-
// flex: 1 1 0
104-
105-
// TO DO: Remove after the fix
97+
flex: 1 1 auto;
10698
display: flex;
10799
flex-direction: column;
108100
justify-content: space-between;
109-
min-height: 800px; /* Always go with pixels */
110101
}
111102

112103
.pf-v5-c-wizard__footer {
113104
position: sticky;
114105
bottom: 0;
115-
padding: 1rem;
116-
background-color: white; // Ensure background covers content below
117-
z-index: 10; // Ensure the footer is above the content
118-
}
106+
}

0 commit comments

Comments
 (0)
Please sign in to comment.