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

Create menu bottom sheet components #307

Merged
merged 5 commits into from
Dec 1, 2023

Conversation

RomainGF
Copy link
Contributor

@RomainGF RomainGF commented Nov 30, 2023

Capture d’écran 2023-11-30 à 15 27 43
Capture d’écran 2023-11-30 à 15 27 52

@RomainGF RomainGF marked this pull request as ready for review November 30, 2023 14:29
title = title,
description = description,
illustration = illustration,
modifier = Modifier.padding(
Copy link
Collaborator

Choose a reason for hiding this comment

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

missing bottom padding too ?

Copy link
Contributor Author

@RomainGF RomainGF Nov 30, 2023

Choose a reason for hiding this comment

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

Yes, and might be clearer if the padding is the inside the header as it's not header padding but text padding inside header in the design

modifier = modifier,
) {
Box(
content = { illustration() },
Copy link
Collaborator

Choose a reason for hiding this comment

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

shouldn't the alignment of the content be specified ?
It might be a dump comment. You only define a maxSize, so I guess that while the contnet is smaller, the box will just wrap it.
And if it's too big, it will be cropped so ne need to specify in which direction it will be cropped, it just shouldn't happen

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes should specify it if the content is smaller, even if there's no min size let's play it safe

@RomainGF RomainGF merged commit f27e1c1 into develop Dec 1, 2023
3 checks passed
@RomainGF RomainGF deleted the task/AA-3165-create-menu-bottom-sheet-component branch December 1, 2023 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants