From 7a5d4d95e124e7be7925163f81f47bf0beefefc4 Mon Sep 17 00:00:00 2001 From: Bart Jan Date: Wed, 2 Jun 2021 20:46:01 +0200 Subject: [PATCH] add viewport addon to the angualar example project + add css fix for scale actions on firefox --- examples/angular-cli/.storybook/main.js | 1 + lib/core-common/src/templates/base-preview-head.html | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/angular-cli/.storybook/main.js b/examples/angular-cli/.storybook/main.js index 7846fc7ccb5d..3ae479dce508 100644 --- a/examples/angular-cli/.storybook/main.js +++ b/examples/angular-cli/.storybook/main.js @@ -6,6 +6,7 @@ module.exports = { '@storybook/addon-controls', '@storybook/addon-storysource', '@storybook/addon-actions', + '@storybook/addon-viewport', '@storybook/addon-links', '@storybook/addon-jest', '@storybook/addon-backgrounds', diff --git a/lib/core-common/src/templates/base-preview-head.html b/lib/core-common/src/templates/base-preview-head.html index f6f6f49a9e6b..0af7eb67d9e4 100644 --- a/lib/core-common/src/templates/base-preview-head.html +++ b/lib/core-common/src/templates/base-preview-head.html @@ -40,6 +40,7 @@ margin: 0; padding: 1rem; display: block; + box-sizing: border-box; } .sb-wrapper {