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

feat: make popup view responsive #2895

Merged
merged 5 commits into from
Dec 6, 2023
Merged

feat: make popup view responsive #2895

merged 5 commits into from
Dec 6, 2023

Conversation

pavanjoshi914
Copy link
Contributor

@pavanjoshi914 pavanjoshi914 commented Nov 29, 2023

Describe the changes you have made in this PR

make the popup responsive. so that it fits perfectly on desktop and mobile screens

Link this PR to an issue [optional]

Type of change

(Remove other not matching type)

  • feat: New feature (non-breaking change which adds functionality)

Screenshots of the changes [optional]

before:
image
image

after:

image

image

How has this been tested?

Checklist

  • Self-review of changed code
  • Manual testing
  • Added automated tests where applicable
  • Update Docs & Guides
  • For UI-related changes
  • Darkmode
  • Responsive layout

static/views/popup.html Outdated Show resolved Hide resolved
Copy link
Contributor

@reneaaron reneaaron left a comment

Choose a reason for hiding this comment

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

tACK (desktop)

Code makes sense for mobile screens as well 👌

🤓 Didn't know the popup is dynamically sized to fit contents:
https://developer.chrome.com/docs/extensions/mv2/reference/browserAction#popup

@reneaaron reneaaron merged commit db5f1e1 into master Dec 6, 2023
6 of 7 checks passed
@reneaaron reneaaron deleted the make-popup-responsive branch December 6, 2023 09:41
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