Skip to content

Conversation

@ArtyomSavchenko
Copy link
Member

No description provided.

Signed-off-by: Artem Savchenko <armisav@gmail.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes modal layout by making the maximum width configurable instead of using a hardcoded CSS value. The change allows individual modals to specify their own maximum width while maintaining backward compatibility.

  • Adds a configurable maxWidth property to the Modal component
  • Updates CreateCardPopup to use the new max-width property
  • Removes the hardcoded max-width: 90vw from the global modal CSS

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
CreateCardPopup.svelte Sets max-width="90vw" using the new property
Modal.svelte Adds maxWidth prop and applies it as inline style
components.scss Removes hardcoded max-width from modal container

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@huly-github-staging
Copy link

Connected to Huly®: UBERF-13818

Signed-off-by: Artem Savchenko <armisav@gmail.com>
BykhovDenis
BykhovDenis previously approved these changes Sep 30, 2025
haiodo
haiodo previously approved these changes Sep 30, 2025
Signed-off-by: Artem Savchenko <armisav@gmail.com>
@ArtyomSavchenko ArtyomSavchenko dismissed stale reviews from haiodo and BykhovDenis via e8862a8 September 30, 2025 06:35
@haiodo haiodo merged commit 3195af9 into develop Sep 30, 2025
15 checks passed
@haiodo haiodo deleted the fix-modal branch September 30, 2025 11:38
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.

4 participants