Skip to content

Conversation

@coorasse
Copy link
Member

CleanShot 2024-08-16 at 11 59 54@2x

@coorasse coorasse requested a review from a team as a code owner August 16, 2024 10:00
@coorasse coorasse self-assigned this Aug 16, 2024
Copy link
Contributor

@ignaciosy ignaciosy left a comment

Choose a reason for hiding this comment

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

Love the functionality!

Comment on lines +6 to +10
.modal-dialog {
--bs-modal-width: 600px;
--bs-modal-margin: 5rem;
--bs-modal-padding: 1.5rem;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we need so much custom css here? Also doesn't look good on mobile with so much margin.

I'd also have a look at the rest of this file's classes if we really need them. (some probably yes)

Copy link
Contributor

Choose a reason for hiding this comment

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

also pretty sure there are provided classes for there, like modal-sm


connect() {
this.modal = new bootstrap.Modal(this.listTarget, {})
this.children = Array.from(this.listGroupTargets[0].children);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not

Suggested change
this.children = Array.from(this.listGroupTargets[0].children);
this.children = Array.from(this.listGroupTarget.children);

If it's just one target as far as I see

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.

3 participants