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 responsiveScreenShots method #984

Merged
merged 1 commit into from
Jun 30, 2022
Merged

Added responsiveScreenShots method #984

merged 1 commit into from
Jun 30, 2022

Conversation

ps-sean
Copy link
Contributor

@ps-sean ps-sean commented Jun 24, 2022

  • Method uses some default screen sizes which will trigger all tailwind breakpoints.
  • Allows the end user to quickly test views for all breakpoints.
  • Users can alter the default screen sizes to fit their needs.
  • Screenshots will be saved with the provided name -device e.g. "screenshot-xs.png"
  • If the provided name is a directory (ends with "/"), saved name will be directory/device e.g. "dashboard/xs.png"

It wasn't possible to write tests for this feature as it makes use of the resize method.

Method uses some default screen sizes which can be altered
@taylorotwell taylorotwell merged commit 8e5996b into laravel:6.x Jun 30, 2022
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