Skip to content

Commit

Permalink
Update viewport meta in main html template for applications (#2652)
Browse files Browse the repository at this point in the history
* fix(mc-html-template): remove disabling zoom from main html template viewport meta

* chore(mc-html-template): changeset added
  • Loading branch information
CarlosCortizasCT authored Jun 23, 2022
1 parent 530f20a commit 81df396
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/slimy-apples-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-frontend/mc-html-template': patch
---

Removed _user-scalable=no_ property from `viewport` meta tag as it is a problem from the [accessibility point of view](https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag#viewport_basics).
4 changes: 2 additions & 2 deletions packages/mc-html-template/html-docs/application.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="referrer" content="no-referrer">

<meta http-equiv="Content-Security-Policy" content="__CSP__">
Expand Down Expand Up @@ -69,4 +69,4 @@
<!-- Main application chunks -->
__APPLICATION_SCRIPT_IMPORTS__
</body>
</html>
</html>

1 comment on commit 81df396

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

Deploy preview for merchant-center-application-kit ready!

✅ Preview
https://merchant-center-application-c9p3omfrm-commercetools.vercel.app

Built with commit 81df396.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.