File tree Expand file tree Collapse file tree 4 files changed +26
-14
lines changed
Expand file tree Collapse file tree 4 files changed +26
-14
lines changed Original file line number Diff line number Diff line change @@ -126,21 +126,20 @@ class Pin extends React.Component {
126126 if ( this . state . hide ) {
127127 className += ' hide'
128128 }
129- var desktopOut = ""
129+ var desktopOut = ''
130130 if ( ! this . state . emailSent ) {
131131 desktopOut = < div >
132132 < h3 > Email yourself a link to Transit!</ h3 >
133133 < form onSubmit = { this . sendEmail } >
134134 < input value = { this . state . email } type = "email" placeholder = "Email Address" onChange = { this . triggerChange } /> < br />
135- < button className = "primary" type = "submit" > Send Link</ button >
135+ < button className = "primary" type = "submit" > Send Link</ button > < button onClick = { this . triggerClose } > Cancel </ button >
136136 </ form >
137137 </ div >
138138 } else {
139- console . log ( "done" )
140139 desktopOut = < div >
141- < h3 > Thanks! You should receive an email shortly.</ h3 >
142- < button onTouchTap = { this . triggerClose } > Close</ button >
143- </ div >
140+ < h3 > Thanks! You should receive an email shortly.</ h3 >
141+ < button onTouchTap = { this . triggerClose } > Close</ button >
142+ </ div >
144143 }
145144 return (
146145 < div className = { className } >
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ class SavedSations extends React.Component {
132132 action = { this . props . togglePin }
133133 icon = "pin.svg"
134134 name = "Install App"
135- description = " Add Transit to your home screen"
135+ description = { < div > < span > Add Transit to your home screen</ span > < span > Send Transit to your phone </ span > </ div > }
136136 />
137137 </ ul >
138138 </ div >
Original file line number Diff line number Diff line change 235235}
236236
237237@media (min-width : 851px ) {
238- .onboard {
238+ // .onboard {
239+ // display: none;
240+ // }
241+ }
242+ .onboard li :last-child span {
243+ & :last-child {
239244 display : none ;
240245 }
241246}
242247@media (min-width : 481px ) {
243- .onboard .text-only {
244- border-bottom : 0 ;
245- }
246- .onboard li :last-child {
247- display : none ;
248+ .onboard li :last-child span {
249+ & :first-child {
250+ display : none ;
251+ }
252+ & :last-child {
253+ display : inline ;
254+ }
248255 }
249256}
250257@media (display-mode : standalone) {
Original file line number Diff line number Diff line change 8787 }
8888
8989 @media (min-width : 481px ) {
90- display : none ;
90+ .mobile {
91+ display : none ;
92+ }
93+ .desktop {
94+ display : block ;
95+ }
9196 }
9297
9398 a {
123128 }
124129 h3 {
125130 margin-top : 0 ;
131+ font-weight : 600 ;
126132 }
127133}
You can’t perform that action at this time.
0 commit comments