luna-one 3.1.544 → 3.1.545

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -69,8 +69,16 @@
69
69
  justify-content: space-between;
70
70
  max-width: 100%;
71
71
 
72
+ @media (max-width: $breakpoint-xs) {
73
+ flex-direction: column;
74
+ }
75
+
72
76
  &--right {
73
77
  flex-direction: row-reverse;
78
+
79
+ @media (max-width: $breakpoint-xs) {
80
+ flex-direction: column;
81
+ }
74
82
  }
75
83
  &__image {
76
84
  &--variant1 {
@@ -87,9 +95,17 @@
87
95
  &--variant2 {
88
96
  &--quarter {
89
97
  width: 25%;
98
+
99
+ @media (max-width: $breakpoint-xs) {
100
+ width: 100%;
101
+ }
90
102
  }
91
103
  &--half {
92
104
  width: 50%;
105
+
106
+ @media (max-width: $breakpoint-md) {
107
+ width: 55%;
108
+ }
93
109
  }
94
110
  }
95
111
  }
@@ -102,9 +118,17 @@
102
118
  }
103
119
  &--half {
104
120
  width: 50%;
121
+
122
+ @media (max-width: $breakpoint-md) {
123
+ width: 55%;
124
+ }
105
125
  }
106
126
  &--threeQuarter {
107
127
  width: 75%;
128
+
129
+ @media (max-width: $breakpoint-xs) {
130
+ width: 100%;
131
+ }
108
132
  }
109
133
  }
110
134
  }
@@ -134,6 +158,10 @@
134
158
  display: -ms-flexbox;
135
159
  display: flex;
136
160
 
161
+ @media (max-width: $breakpoint-xs) {
162
+ display: block;
163
+ }
164
+
137
165
  padding: 1em;
138
166
  border: 2px solid #fbad26;
139
167
  position: relative;
@@ -173,6 +201,10 @@
173
201
  position: relative;
174
202
  z-index: 1;
175
203
  padding: 10px;
204
+
205
+ @media (max-width: $breakpoint-xs) {
206
+ padding: 0;
207
+ }
176
208
  }
177
209
  }
178
210
 
@@ -197,6 +229,9 @@
197
229
  margin: auto;
198
230
  }
199
231
  &__quote-section {
232
+ &--variant1--quarter {
233
+ flex-direction: column;
234
+ }
200
235
  &--variant2 {
201
236
  &--half {
202
237
  flex-direction: column;
@@ -205,7 +240,7 @@
205
240
  &__image {
206
241
  &--variant1 {
207
242
  &--quarter {
208
- width: 25%;
243
+ width: 50%;
209
244
  }
210
245
  &--right {
211
246
  padding: 20px 20px 0 30px;
@@ -233,13 +268,35 @@
233
268
  margin: spacing("auto");
234
269
  }
235
270
  &__quote-text {
236
- font-size: $subheading-size;
237
- line-height: 30px;
271
+ font-size: $heading-4-size-mobile;
272
+ line-height: 35px;
273
+ }
274
+
275
+ .ter-button {
276
+ text-align: center;
277
+ margin: auto;
278
+ white-space: normal;
279
+ padding: 5px 12px 2px;
280
+ height: auto !important;
281
+ line-height: 25px;
282
+ gap: 10px;
283
+
284
+
285
+
286
+ @media (max-width: $breakpoint-xs) {
287
+ font-size: 14px;
288
+ }
289
+
290
+ @media (max-width: $breakpoint-sm) {
291
+ padding: 8px 16px 4px;
292
+ font-size: 16px;
293
+ }
238
294
  }
239
295
  }
240
296
  }
241
297
 
242
- @media (max-width: $breakpoint-xs) {
298
+
299
+ @media (max-width: $breakpoint-xxs) {
243
300
  .ter-pullQuote {
244
301
  &--top-image {
245
302
  height: 200px;
@@ -302,10 +359,17 @@
302
359
  }
303
360
 
304
361
  .ter-button {
305
- width: 100%;
306
362
  text-align: center;
307
363
  margin: auto;
308
- display: block;
364
+ white-space: normal;
365
+ padding: 5px 12px 2px;
366
+ height: auto !important;
367
+ line-height: 25px;
368
+ gap: 10px;
369
+
370
+ @media (max-width: $breakpoint-xs) {
371
+ font-size: 14px;
372
+ }
309
373
  }
310
374
  }
311
375
  }
@@ -323,3 +387,9 @@
323
387
  }
324
388
  }
325
389
  }
390
+
391
+ @media screen and (max-width: $breakpoint-xs) {
392
+ .default-layout__grid {
393
+ margin: 0 !important;
394
+ }
395
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "luna-one",
3
- "version": "3.1.544",
3
+ "version": "3.1.545",
4
4
  "peerDependencies": {
5
5
  "react": "^17.0.2",
6
6
  "react-dom": "^17.0.2",