@npm_leadtech/legal-lib-components 5.12.8 → 5.12.9

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.
@@ -15,6 +15,10 @@ export const SubtypeDocumentCardStyled = styled.div `
15
15
  box-shadow: 0px 2px 6px 0px var(--neutral-neutral-3);
16
16
  background-color: var(--secondary-main-light-5);
17
17
 
18
+ .image-container {
19
+ width: 70%;
20
+ }
21
+
18
22
  @media (min-width: ${size.xs}) {
19
23
  width: 428px;
20
24
  }
@@ -27,7 +31,11 @@ export const SubtypeDocumentCardStyled = styled.div `
27
31
  flex-direction: row;
28
32
 
29
33
  .image-container {
30
- width: 35%;
34
+ width: 40%;
35
+
36
+ @media (min-width: ${size.lg}) {
37
+ width: 30%;
38
+ }
31
39
  }
32
40
  }
33
41
 
@@ -50,10 +58,6 @@ export const SubtypeDocumentCardStyled = styled.div `
50
58
  @media (min-width: ${size.md}) {
51
59
  width: 65%;
52
60
  }
53
-
54
- @media (min-width: ${size.lg}) {
55
- width: 75%;
56
- }
57
61
  }
58
62
 
59
63
  .title {
@@ -92,6 +96,7 @@ export const SubtypeDocumentCardStyled = styled.div `
92
96
  @media ${device.laptop} {
93
97
  align-self: flex-start;
94
98
  width: auto;
99
+ margin-top: 0.5rem;
95
100
  }
96
101
 
97
102
  @media ${device.desktop} {
@@ -105,19 +110,29 @@ export const SubtypeDocumentCardStyled = styled.div `
105
110
  flex-wrap: wrap;
106
111
  gap: 1rem;
107
112
  width: 100%;
108
- margin-top: 0.75rem;
109
113
  justify-content: space-between;
110
114
 
111
115
  a {
112
116
  min-width: 46.5%;
117
+ max-width: 46.5%;
118
+ margin-top: 0.75rem;
113
119
  }
114
120
 
115
121
  @media ${device.laptop} {
116
122
  justify-content: flex-start;
117
123
  width: 100%;
118
124
 
125
+ a {
126
+ min-width: 46.5%;
127
+ max-width: fit-content;
128
+ margin-top: 0.5rem;
129
+ }
130
+ }
131
+
132
+ @media (min-width: ${size.lg}) {
119
133
  a {
120
134
  min-width: auto;
135
+ max-width: fit-content;
121
136
  }
122
137
  }
123
138
 
@@ -16,6 +16,10 @@ export const SubtypeDocumentCardStyled = styled.div`
16
16
  box-shadow: 0px 2px 6px 0px var(--neutral-neutral-3);
17
17
  background-color: var(--secondary-main-light-5);
18
18
 
19
+ .image-container {
20
+ width: 70%;
21
+ }
22
+
19
23
  @media (min-width: ${size.xs}) {
20
24
  width: 428px;
21
25
  }
@@ -28,7 +32,11 @@ export const SubtypeDocumentCardStyled = styled.div`
28
32
  flex-direction: row;
29
33
 
30
34
  .image-container {
31
- width: 35%;
35
+ width: 40%;
36
+
37
+ @media (min-width: ${size.lg}) {
38
+ width: 30%;
39
+ }
32
40
  }
33
41
  }
34
42
 
@@ -51,10 +59,6 @@ export const SubtypeDocumentCardStyled = styled.div`
51
59
  @media (min-width: ${size.md}) {
52
60
  width: 65%;
53
61
  }
54
-
55
- @media (min-width: ${size.lg}) {
56
- width: 75%;
57
- }
58
62
  }
59
63
 
60
64
  .title {
@@ -93,6 +97,7 @@ export const SubtypeDocumentCardStyled = styled.div`
93
97
  @media ${device.laptop} {
94
98
  align-self: flex-start;
95
99
  width: auto;
100
+ margin-top: 0.5rem;
96
101
  }
97
102
 
98
103
  @media ${device.desktop} {
@@ -106,19 +111,29 @@ export const SubtypeDocumentCardStyled = styled.div`
106
111
  flex-wrap: wrap;
107
112
  gap: 1rem;
108
113
  width: 100%;
109
- margin-top: 0.75rem;
110
114
  justify-content: space-between;
111
115
 
112
116
  a {
113
117
  min-width: 46.5%;
118
+ max-width: 46.5%;
119
+ margin-top: 0.75rem;
114
120
  }
115
121
 
116
122
  @media ${device.laptop} {
117
123
  justify-content: flex-start;
118
124
  width: 100%;
119
125
 
126
+ a {
127
+ min-width: 46.5%;
128
+ max-width: fit-content;
129
+ margin-top: 0.5rem;
130
+ }
131
+ }
132
+
133
+ @media (min-width: ${size.lg}) {
120
134
  a {
121
135
  min-width: auto;
136
+ max-width: fit-content;
122
137
  }
123
138
  }
124
139
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "5.12.8",
3
+ "version": "5.12.9",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",