Skip to content

Commit e0d6b00

Browse files
authored
[polaris.shopify.com] Fix Tiles image and example widths (#7444)
1 parent 77057d5 commit e0d6b00

21 files changed

+22
-18
lines changed

.changeset/nice-boxes-jam.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'polaris.shopify.com': patch
3+
---
4+
5+
Fix tile image and increase example widths on alpha components
File renamed without changes.

polaris.shopify.com/pages/examples/alpha-stack-default.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {withPolarisExample} from '../../src/components/PolarisExampleWrapper';
55

66
function AlphaStackExample() {
77
return (
8-
<div style={{width: '500px'}}>
8+
<div style={{width: '100%'}}>
99
<AlphaStack>
1010
<Text variant="heading4xl" as="h2">
1111
AlphaStack

polaris.shopify.com/pages/examples/alpha-stack-with-align.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {withPolarisExample} from '../../src/components/PolarisExampleWrapper';
55

66
function AlphaStackWithAlignExample() {
77
return (
8-
<div style={{width: '500px'}}>
8+
<div style={{width: '100%'}}>
99
<Box paddingBottom="2">
1010
<Text variant="bodySm" as="h3">
1111
with align start

polaris.shopify.com/pages/examples/alpha-stack-with-full-width-children.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {withPolarisExample} from '../../src/components/PolarisExampleWrapper';
55

66
function AlphaStackWithFullWidthChildrenExample() {
77
return (
8-
<div style={{width: '500px'}}>
8+
<div style={{width: '100%'}}>
99
<AlphaStack fullWidth>
1010
<Text variant="heading4xl" as="h2">
1111
AlphaStack

polaris.shopify.com/pages/examples/alpha-stack-with-spacing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {withPolarisExample} from '../../src/components/PolarisExampleWrapper';
55

66
function AlphaStackWithSpacingExample() {
77
return (
8-
<div style={{width: '500px'}}>
8+
<div style={{width: '100%'}}>
99
<Box paddingBottom="2">
1010
<Text variant="bodySm" as="h3">
1111
with spacing 0

polaris.shopify.com/pages/examples/bleed-all-directions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const styles = {
1414

1515
function BleedAllDirectionsExample() {
1616
return (
17-
<div style={{width: '500px'}}>
17+
<div style={{width: '100%'}}>
1818
<Box background="surface" border="base" padding="4">
1919
<Bleed spacing="6">
2020
<div style={styles}>

polaris.shopify.com/pages/examples/bleed-horizontal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const styles = {
1414

1515
function BleedHorizontalExample() {
1616
return (
17-
<div style={{width: '500px'}}>
17+
<div style={{width: '100%'}}>
1818
<Box background="surface" border="base" padding="4">
1919
<Bleed horizontal="6">
2020
<div style={styles}>

polaris.shopify.com/pages/examples/bleed-specific-direction.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const styles = {
1414

1515
function BleedSpecificDirectionExample() {
1616
return (
17-
<div style={{width: '500px'}}>
17+
<div style={{width: '100%'}}>
1818
<Box background="surface" border="base" padding="4">
1919
<Bleed top="6">
2020
<div style={styles}>

polaris.shopify.com/pages/examples/bleed-vertical.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const styles = {
1414

1515
function BleedVerticalExample() {
1616
return (
17-
<div style={{width: '500px'}}>
17+
<div style={{width: '100%'}}>
1818
<Box background="surface" border="base" padding="4">
1919
<Bleed vertical="6">
2020
<div style={styles}>

0 commit comments

Comments
 (0)