Skip to content

Commit

Permalink
fix(CreateFullPage): header height to work properly on older browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
baraaabdelsalam committed Sep 2, 2024
1 parent c7d1ef3 commit 28cc0ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2126,10 +2126,9 @@ p.c4p--about-modal__copyright-text:first-child {
display: grid;
height: 100%;
color: var(--cds-text-primary, #161616);
grid-template-rows: minmax(auto, 100%);
}
.c4p--create-full-page:has(.c4p--create-full-page__header) {
grid-template-rows: auto minmax(auto, 100%);
grid-template-rows: auto minmax(min-content, 100%);
}
.c4p--create-full-page .c4p--create-full-page__content .cds--grid {
Expand Down Expand Up @@ -3982,6 +3981,10 @@ p.c4p--about-modal__copyright-text:first-child {
padding: 0;
}
.c4p--datagrid .cds--noLabel svg.cds--btn__icon {
margin-inline-start: 0;
}
.c4p--datagrid .cds--action-list .cds--btn__icon {
margin-top: 0;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ $step-block-class: #{c4p-settings.$pkg-prefix}--create-full-page__step;
display: grid;
height: 100%;
color: $text-primary;
grid-template-rows: minmax(auto, 100%);
// grid-template-rows: minmax(auto, 100%);

&:has(.#{$block-class}__header) {
grid-template-rows: auto minmax(auto, 100%);
grid-template-rows: auto minmax(min-content, 100%);
}
}

Expand Down

0 comments on commit 28cc0ca

Please sign in to comment.