File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
packages/scrollycoding/src Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ export function AnchorOrFocus({
107
107
href,
108
108
...props
109
109
} : any ) {
110
- if ( ! href . startsWith ( "focus://" ) ) {
110
+ if ( ! href ? .startsWith ( "focus://" ) ) {
111
111
return React . createElement ( type , { href, ...props } )
112
112
}
113
113
Original file line number Diff line number Diff line change 26
26
}
27
27
28
28
/* content steps */
29
- .ch-hike-step {
29
+ .ch-hike-fluid .ch-hike- step {
30
30
display : flex ;
31
31
min-height : 350px ;
32
32
justify-content : center ;
33
33
flex-flow : column ;
34
- // outline: 2px solid red;
35
34
}
36
35
37
36
.ch-hike-step-gap {
54
53
}
55
54
56
55
.ch-hike-step-content > :first-child {
57
- // TODO reset for mobile
58
56
margin-top : 0 ;
59
57
}
60
58
59
+ .ch-hike-step-content > :last-child {
60
+ margin-bottom : 0 ;
61
+ }
62
+
61
63
.ch-hike-step-content-focused {
62
64
// border-color: #81d8f7;
63
65
border-color : #252526 ;
You can’t perform that action at this time.
0 commit comments