This repository was archived by the owner on Nov 16, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +20
-0
lines changed
config/styleguide-visual/reference Expand file tree Collapse file tree 4 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,23 @@ const image = <Image source={yammerLogo} description={yammerLogoDescription} ful
33
33
34
34
< br / >
35
35
36
+ < FixedGridRow>
37
+ < FixedGridColumn>
38
+ < Tile aspectRatio= {TileAspectRatio .EightNine }> {image}< / Tile>
39
+ < / FixedGridColumn>
40
+ < FixedGridColumn>
41
+ < Tile aspectRatio= {TileAspectRatio .EightNine }> {image}< / Tile>
42
+ < / FixedGridColumn>
43
+ < FixedGridColumn>
44
+ < Tile aspectRatio= {TileAspectRatio .EightNine }> {image}< / Tile>
45
+ < / FixedGridColumn>
46
+ < FixedGridColumn>
47
+ < Tile aspectRatio= {TileAspectRatio .EightNine }> {image}< / Tile>
48
+ < / FixedGridColumn>
49
+ < / FixedGridRow>
50
+
51
+ < br / >
52
+
36
53
< FixedGridRow>
37
54
< FixedGridColumn>
38
55
< Tile aspectRatio= {TileAspectRatio .OneOne }> {image}< / Tile>
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export interface TileClassNameProps {
12
12
13
13
const mapAspectRatioToPercent : Record < TileAspectRatio , string > = {
14
14
[ TileAspectRatio . TwoThree ] : '150%' ,
15
+ [ TileAspectRatio . EightNine ] : '112.5%' ,
15
16
[ TileAspectRatio . OneOne ] : '100%' ,
16
17
[ TileAspectRatio . FourThree ] : '75%' ,
17
18
[ TileAspectRatio . SixteenNine ] : '56.25%' ,
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ export enum TileAspectRatio {
13
13
FourThree = '4_3' ,
14
14
/** 1:1 aspect ratio */
15
15
OneOne = '1_1' ,
16
+ /** 8:9 aspect ratio */
17
+ EightNine = '8_9' ,
16
18
/** 2:3 aspect ratio */
17
19
TwoThree = '2_3' ,
18
20
}
You can’t perform that action at this time.
0 commit comments