Skip to content

Commit 8ceebed

Browse files
jonniebigodesstorybook-bot
authored andcommitted
Merge pull request #26530 from storybookjs/fix/active-viewport-size-not-centered
Viewport: Fix missing style (cherry picked from commit b071c44)
1 parent 13747fb commit 8ceebed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

code/addons/viewport/src/Tool.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ const flip = ({ width, height, ...styles }: ViewportStyles) => ({
7474

7575
const ActiveViewportSize = styled.div(() => ({
7676
display: 'inline-flex',
77+
alignItems: 'center',
7778
}));
7879

7980
const ActiveViewportLabel = styled.div(({ theme }) => ({

0 commit comments

Comments
 (0)