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

Added size adjustment functionality for popup window #47

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

morph1nX
Copy link
Contributor

@morph1nX morph1nX commented Jan 11, 2025

Fixes #15

popup/components/modals/SettingsModalContent.tsx Outdated Show resolved Hide resolved
popup/components/modals/SettingsModalContent.tsx Outdated Show resolved Hide resolved
@@ -1,5 +1,5 @@
html,
body,
#__plasmo {
height: 100%;
height: "auto";
Copy link
Owner

Choose a reason for hiding this comment

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

I think this breaks floating mode.

@ayoung19
Copy link
Owner

Also comments regarding the general approach, it works but to give us the flexibility of allowing the user to manually configure the width and height of the extension in the future can we store the raw height and width values in the settings object as opposed to the label? I would just have a simple string to size mapping object directly in the Settings modal that we can change whenever.

@ayoung19
Copy link
Owner

ayoung19 commented Jan 13, 2025

If it's too messy because of how Select limits the values to strings only then we can keep it as is. Try it out though and let me know if so.

morph1nX and others added 3 commits January 14, 2025 14:27
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.

popup: size adjustment setting
2 participants