@npm_leadtech/legal-lib-components 7.44.2 → 7.44.4

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.
@@ -171,7 +171,7 @@ export const SubtypeDocumentCardStyled = styled.div `
171
171
  width: 100%;
172
172
  align-items: center;
173
173
  justify-content: center;
174
- padding: 2rem 1.5rem 2rem 1.5rem;
174
+ padding: 1rem;
175
175
  gap: 1rem;
176
176
  border-radius: 1rem;
177
177
  background-color: var(--neutral-neutral-6);
@@ -190,13 +190,9 @@ export const SubtypeDocumentCardStyled = styled.div `
190
190
  align-items: center;
191
191
  flex-direction: column;
192
192
  width: 100%;
193
- max-width: 300px;
193
+ max-width: 223px;
194
194
  .image-container {
195
- width: 40%;
196
-
197
- @media (min-width: ${size.lg}) {
198
- width: 30%;
199
- }
195
+ width: 60%;
200
196
  }
201
197
  }
202
198
 
@@ -206,9 +202,9 @@ export const SubtypeDocumentCardStyled = styled.div `
206
202
 
207
203
  .title {
208
204
  font-family: Inter;
209
- font-size: 18px;
205
+ font-size: 16px;
210
206
  font-weight: 700;
211
- line-height: 24px;
207
+ line-height: 22px;
212
208
  margin-bottom: 24px;
213
209
  letter-spacing: -0.3px;
214
210
  text-align: left;
@@ -216,10 +212,27 @@ export const SubtypeDocumentCardStyled = styled.div `
216
212
  text-decoration-style: solid;
217
213
  text-underline-position: from-font;
218
214
  text-decoration-skip-ink: none;
215
+
216
+ @media (min-width: ${size.md}) {
217
+ text-align: center;
218
+ }
219
219
  }
220
220
 
221
221
  .content {
222
-
222
+ display: flex;
223
+ flex-direction: column;
224
+ height: 100%;
225
+ width: 100%;
226
+ justify-content: center;
227
+
228
+ @media ${device['landscape-tablets']} {
229
+ margin-left: 1rem;
230
+ }
231
+
232
+ @media (min-width: ${size.md}) {
233
+ width: 100%;
234
+ margin-left: 0;
235
+ }
223
236
  }
224
237
 
225
238
  .buttons-container {
@@ -231,8 +244,9 @@ export const SubtypeDocumentCardStyled = styled.div `
231
244
  @media ${device.desktop} {
232
245
  flex-direction: row;
233
246
  align-self: flex-start;
234
- gap: var(--global-gap);
247
+ gap: 0.2rem;
235
248
  align-items: center;
249
+ justify-content: center;
236
250
  }
237
251
 
238
252
  .downloadable-buttons {
@@ -244,11 +258,14 @@ export const SubtypeDocumentCardStyled = styled.div `
244
258
  a {
245
259
  margin-top: 0.75rem;
246
260
  width: 100%;
261
+ label {
262
+ font-size: 14px;
263
+ }
247
264
  }
248
265
 
249
266
  @media ${device.laptop} {
250
267
  justify-content: space-between;
251
- width: 95%;
268
+ width: 100%;
252
269
  a {
253
270
  min-width: 46.5%;
254
271
  max-width: fit-content;
@@ -265,7 +282,7 @@ export const SubtypeDocumentCardStyled = styled.div `
265
282
 
266
283
  @media ${device.desktop} {
267
284
  display: flex;
268
- gap: var(--global-gap);
285
+ gap: 0.2rem;
269
286
  flex-wrap: nowrap;
270
287
  margin-top: 0;
271
288
  }
@@ -181,7 +181,7 @@ export const SubtypeDocumentCardStyled = styled.div<SubtypeDocumentCardStyledPro
181
181
  width: 100%;
182
182
  align-items: center;
183
183
  justify-content: center;
184
- padding: 2rem 1.5rem 2rem 1.5rem;
184
+ padding: 1rem;
185
185
  gap: 1rem;
186
186
  border-radius: 1rem;
187
187
  background-color: var(--neutral-neutral-6);
@@ -200,13 +200,9 @@ export const SubtypeDocumentCardStyled = styled.div<SubtypeDocumentCardStyledPro
200
200
  align-items: center;
201
201
  flex-direction: column;
202
202
  width: 100%;
203
- max-width: 300px;
203
+ max-width: 223px;
204
204
  .image-container {
205
- width: 40%;
206
-
207
- @media (min-width: ${size.lg}) {
208
- width: 30%;
209
- }
205
+ width: 60%;
210
206
  }
211
207
  }
212
208
 
@@ -216,9 +212,9 @@ export const SubtypeDocumentCardStyled = styled.div<SubtypeDocumentCardStyledPro
216
212
 
217
213
  .title {
218
214
  font-family: Inter;
219
- font-size: 18px;
215
+ font-size: 16px;
220
216
  font-weight: 700;
221
- line-height: 24px;
217
+ line-height: 22px;
222
218
  margin-bottom: 24px;
223
219
  letter-spacing: -0.3px;
224
220
  text-align: left;
@@ -226,10 +222,27 @@ export const SubtypeDocumentCardStyled = styled.div<SubtypeDocumentCardStyledPro
226
222
  text-decoration-style: solid;
227
223
  text-underline-position: from-font;
228
224
  text-decoration-skip-ink: none;
225
+
226
+ @media (min-width: ${size.md}) {
227
+ text-align: center;
228
+ }
229
229
  }
230
230
 
231
231
  .content {
232
-
232
+ display: flex;
233
+ flex-direction: column;
234
+ height: 100%;
235
+ width: 100%;
236
+ justify-content: center;
237
+
238
+ @media ${device['landscape-tablets']} {
239
+ margin-left: 1rem;
240
+ }
241
+
242
+ @media (min-width: ${size.md}) {
243
+ width: 100%;
244
+ margin-left: 0;
245
+ }
233
246
  }
234
247
 
235
248
  .buttons-container {
@@ -241,8 +254,9 @@ export const SubtypeDocumentCardStyled = styled.div<SubtypeDocumentCardStyledPro
241
254
  @media ${device.desktop} {
242
255
  flex-direction: row;
243
256
  align-self: flex-start;
244
- gap: var(--global-gap);
257
+ gap: 0.2rem;
245
258
  align-items: center;
259
+ justify-content: center;
246
260
  }
247
261
 
248
262
  .downloadable-buttons {
@@ -254,11 +268,14 @@ export const SubtypeDocumentCardStyled = styled.div<SubtypeDocumentCardStyledPro
254
268
  a {
255
269
  margin-top: 0.75rem;
256
270
  width: 100%;
271
+ label {
272
+ font-size: 14px;
273
+ }
257
274
  }
258
275
 
259
276
  @media ${device.laptop} {
260
277
  justify-content: space-between;
261
- width: 95%;
278
+ width: 100%;
262
279
  a {
263
280
  min-width: 46.5%;
264
281
  max-width: fit-content;
@@ -275,7 +292,7 @@ export const SubtypeDocumentCardStyled = styled.div<SubtypeDocumentCardStyledPro
275
292
 
276
293
  @media ${device.desktop} {
277
294
  display: flex;
278
- gap: var(--global-gap);
295
+ gap: 0.2rem;
279
296
  flex-wrap: nowrap;
280
297
  margin-top: 0;
281
298
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "7.44.2",
3
+ "version": "7.44.4",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",