File tree 2 files changed +35
-8
lines changed
client/sites/marketing/connections
2 files changed +35
-8
lines changed Original file line number Diff line number Diff line change 55
55
.connections__sharing-service-tip {
56
56
margin : 1rem 0 ;
57
57
}
58
+
59
+ .sharing-service-examples {
60
+ display : grid ;
61
+ grid-auto-columns : minmax (0 , 1fr );
62
+ grid-auto-flow : column ;
63
+ margin-top : 0.4rem ;
64
+
65
+ @media (max-width : 660px ) {
66
+ grid-auto-flow : row ;
67
+ grid-gap : 2rem ;
68
+ height : auto ;
69
+ min-height : unset ;
70
+ }
71
+
72
+ img {
73
+ max-height : 520px ;
74
+ max-width : 100% ;
75
+ }
76
+
77
+ >div {
78
+ & :has (img ) {
79
+ margin-inline-start : auto ;
80
+ margin-inline-end : auto ;
81
+ }
82
+ }
83
+ }
Original file line number Diff line number Diff line change @@ -666,14 +666,15 @@ export class SharingService extends Component {
666
666
'is-placeholder' : this . props . isFetching ,
667
667
} ) }
668
668
>
669
- < ServiceExamples
670
- service = { this . props . service }
671
- action = { this . performAction }
672
- connectAnother = { this . connectAnother }
673
- isConnecting = { this . state . isConnecting }
674
- connections = { connections }
675
- />
676
-
669
+ { 'not-connected' === connectionStatus && (
670
+ < ServiceExamples
671
+ service = { this . props . service }
672
+ action = { this . performAction }
673
+ connectAnother = { this . connectAnother }
674
+ isConnecting = { this . state . isConnecting }
675
+ connections = { connections }
676
+ />
677
+ ) }
677
678
{ this . isGooglePhotosMigration ( connectionStatus ) && < GooglePhotosMigration /> }
678
679
679
680
{ ! this . isMailchimpService ( connectionStatus ) && (
You can’t perform that action at this time.
0 commit comments