File tree Expand file tree Collapse file tree 2 files changed +34
-29
lines changed Expand file tree Collapse file tree 2 files changed +34
-29
lines changed Original file line number Diff line number Diff line change @@ -51,26 +51,30 @@ const CmsFeaturesPage = ({ data, location }) => {
51
51
technologies, choose the technologies to compare and then press
52
52
Compare:
53
53
</ p >
54
- < div
55
- sx = { {
56
- display : `grid` ,
57
- gridTemplateColumns : `repeat(auto-fit, minmax(75px, 120px))` ,
58
- gridGap : 2 ,
59
- pb : 10 ,
60
- } }
61
- >
62
- { featureComparisonOptions . cms . map ( ( { key : optionKey , display } ) => (
63
- < CompareButton
64
- key = { optionKey }
65
- optionKey = { optionKey }
66
- selected = { selected [ optionKey ] }
67
- setSelected = { setSelected }
68
- >
69
- { display }
70
- </ CompareButton >
71
- ) ) }
54
+ < div sx = { { pb : 10 } } >
55
+ < div
56
+ sx = { {
57
+ display : `grid` ,
58
+ gridTemplateColumns : `repeat(auto-fit, minmax(75px, 1fr))` ,
59
+ gridAutoRows : `1fr` ,
60
+ gridGap : 2 ,
61
+ pb : 4 ,
62
+ } }
63
+ >
64
+ { featureComparisonOptions . cms . map (
65
+ ( { key : optionKey , display } ) => (
66
+ < CompareButton
67
+ key = { optionKey }
68
+ optionKey = { optionKey }
69
+ selected = { selected [ optionKey ] }
70
+ setSelected = { setSelected }
71
+ >
72
+ { display }
73
+ </ CompareButton >
74
+ )
75
+ ) }
76
+ </ div >
72
77
< Button
73
- overrideCSS = { { whiteSpace : `pre-wrap` } }
74
78
to = {
75
79
hasSelected
76
80
? `/features/cms/gatsby-vs-${ comparators . join ( `-vs-` ) } `
Original file line number Diff line number Diff line change @@ -54,12 +54,14 @@ const JamstackFeaturesPage = ({ data, location }) => {
54
54
technologies, choose the technologies to compare and then press
55
55
Compare:
56
56
</ p >
57
+
57
58
< div
58
59
sx = { {
59
60
display : `grid` ,
60
61
gridTemplateColumns : `repeat(auto-fit, minmax(75px, 1fr))` ,
61
62
gridAutoRows : `1fr` ,
62
63
gridGap : 2 ,
64
+ pb : 4 ,
63
65
} }
64
66
>
65
67
{ featureComparisonOptions . jamstack . map (
@@ -74,17 +76,16 @@ const JamstackFeaturesPage = ({ data, location }) => {
74
76
</ CompareButton >
75
77
)
76
78
) }
77
- < Button
78
- overrideCSS = { { whiteSpace : `pre-wrap` } }
79
- to = {
80
- hasSelected
81
- ? `/features/jamstack/gatsby-vs-${ comparators . join ( `-vs-` ) } `
82
- : location . pathname
83
- }
84
- >
85
- Compare with Gatsby
86
- </ Button >
87
79
</ div >
80
+ < Button
81
+ to = {
82
+ hasSelected
83
+ ? `/features/jamstack/gatsby-vs-${ comparators . join ( `-vs-` ) } `
84
+ : location . pathname
85
+ }
86
+ >
87
+ Compare with Gatsby
88
+ </ Button >
88
89
< EvaluationTable
89
90
options = { featureComparisonOptions . jamstack }
90
91
sections = { sections }
You can’t perform that action at this time.
0 commit comments