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

Change viewport styling to more closely match v4 #5979

Merged
merged 1 commit into from
Mar 9, 2019

Conversation

Glazy
Copy link
Contributor

@Glazy Glazy commented Mar 9, 2019

Issue: #5965

What I did

Styling for addon-viewport iframe was a 10px black border which was a
little intrusive when working on stories. This commit changes the iframe
style to a more familiar style that mimics v4 with horizontal centering
and a subtle box-shadow.

How to test

The changes are reflected in the Viewport stories being tested in Chromatic.

Styling for addon-viewport iframe was a 10px black border which was a
little intrusive when working on stories. This commit changes the iframe
style to a more familiar style that mimics v4 with horizontal centering
and a subtle box-shadow.
@Glazy Glazy requested a review from saponifi3d as a code owner March 9, 2019 00:36
@shilman shilman added maintenance User-facing maintenance tasks addon: viewport patch:yes Bugfix & documentation PR that need to be picked to main branch labels Mar 9, 2019
@shilman
Copy link
Member

shilman commented Mar 9, 2019

Looks great!!!

@shilman shilman merged commit d2c3b63 into storybookjs:next Mar 9, 2019
@codecov
Copy link

codecov bot commented Mar 9, 2019

Codecov Report

Merging #5979 into next will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             next    #5979   +/-   ##
=======================================
  Coverage   34.91%   34.91%           
=======================================
  Files         648      648           
  Lines        9496     9496           
  Branches     1377     1377           
=======================================
  Hits         3316     3316           
  Misses       5563     5563           
  Partials      617      617
Impacted Files Coverage Δ
addons/viewport/src/Tool.js 0% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 953c43b...e8303e2. Read the comment docs.

@Glazy Glazy deleted the addon-viewport-border-style branch March 9, 2019 11:48
@shilman shilman mentioned this pull request Mar 9, 2019
@shilman shilman added the patch:done Patch/release PRs already cherry-picked to main/release branch label Mar 11, 2019
shilman added a commit that referenced this pull request Mar 11, 2019
Change viewport styling to more closely match v4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addon: viewport maintenance User-facing maintenance tasks patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants