Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@thatblindgeye
Copy link
Contributor

Work towards #5711

@thatblindgeye thatblindgeye requested review from a team, andrew-ronaldson, lboehling, mattnolting and mcoker and removed request for a team January 5, 2024 15:12
```

### Modified panel padding
### Modified panel body padding
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this a valid use of the pf-m-padding class that we want to showcase? I updated the example to show one way to use the class on panel body content (previously this example wasn't any different from a basic drawer example), but in React we don't have a prop to apply the class on a DrawerPanelBody (though the class could be manually passed in if a consumer knew it could be used).

@patternfly-build
Copy link
Collaborator

patternfly-build commented Jan 5, 2024

@srambach
Copy link
Member

srambach commented Jan 12, 2024

Actually, no border radius 😄
image

@srambach
Copy link
Member

For the resizeable panel, it would be good to keep the border that separates the sizer from the text, same as in the inline resizeable.

Copy link
Member

@srambach srambach left a comment

Choose a reason for hiding this comment

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

Corners and splitter look great now!

order: 0;

// background-color: var(--#{$drawer}__content--BackgroundColor);
background-color: var(--#{$drawer}__content--BackgroundColor);
Copy link
Contributor

Choose a reason for hiding this comment

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

@lboehling noticed in some of the full page examples, we've lost the rounded corners around the page main content area. For example, from https://patternfly-pr-6183.surge.sh/components/drawer/html-demos/expanded-bottom/

Screenshot 2024-01-12 at 4 34 48 PM

The rounded corners are on .pf-v5-c-page__main, but in these full page examples, .pf-v5-c-page__main is a child of .pf-v5-c-drawer__content, which has this background color added and keeps the corners on page__main from showing up. Opened #6225 to try and address that, since we probably need to test a bit and see what the ideal solution is there.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for filing this issue @mcoker
Lots of products are using drawer in this way so definitely important to fix.

Copy link
Collaborator

@andrew-ronaldson andrew-ronaldson left a comment

Choose a reason for hiding this comment

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

Apart from the full page example Coker pointed out I think this first round is ready. Thanks!

Copy link
Contributor

@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

 🤖👍
NICE

@mcoker mcoker merged commit 2719029 into patternfly:v6 Jan 17, 2024
@patternfly-build
Copy link
Collaborator

🎉 This PR is included in version 6.0.0-alpha.63 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

Bug - Primary-detail demo - in dark theme drawer bg is transparent

5 participants