Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: full page story with global header #4794

Merged
merged 5 commits into from
Apr 16, 2024

Conversation

lee-chase
Copy link
Member

A global header does not work with full page create

What did you change?

  • Full page edit to remove header height calculations and use display grid.
  • Added story to demonstrate

E.g.
image

How did you test and verify your work?

Storybook

Next

May need to raise issue for other full page e.g. edit?

@lee-chase lee-chase requested a review from a team as a code owner April 9, 2024 16:42
Copy link

netlify bot commented Apr 9, 2024

Deploy Preview for carbon-for-ibm-products failed.

Name Link
🔨 Latest commit 3ffb420
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/661e41a50bd02d0008fb1b10

@@ -21,8 +21,15 @@
$block-class: #{c4p-settings.$pkg-prefix}--create-full-page;
$step-block-class: #{c4p-settings.$pkg-prefix}--create-full-page__step;

.#{$block-class} .#{$block-class} {
.#{$block-class}.#{$block-class} {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate class names?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@paul-balchin-ibm I didn't add the duplicate names, just made them functional assuming they were supposed to.

Removed the duplicate.

@lee-chase lee-chase changed the title fix:full page story with global header fix: full page story with global header Apr 10, 2024
@lee-chase lee-chase enabled auto-merge April 16, 2024 09:15
@lee-chase lee-chase added this pull request to the merge queue Apr 16, 2024
Merged via the queue into carbon-design-system:main with commit af77a38 Apr 16, 2024
11 of 15 checks passed
@lee-chase lee-chase deleted the createFullPageTooBig branch April 16, 2024 09:33
@baraaabdelsalam
Copy link
Contributor

I think this change introduced this issue:
#5573

color: var(--cds-text-primary, #161616);
grid-template-rows: minmax(auto, 100%);
Copy link
Contributor

@baraaabdelsalam baraaabdelsalam Sep 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @lee-chase

This doesn't work on some browsers which causes some height issues as you can see from the screenshot.

Screenshot 2024-09-02 at 15 40 42

Copy link
Contributor

@baraaabdelsalam baraaabdelsalam Sep 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please take a look at this PR:
#5993

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants