@npm_leadtech/legal-lib-components 5.28.0 → 5.28.1

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.
@@ -1,3 +1,4 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
1
2
  import styled from 'styled-components';
2
3
  export const KeyFactCardListRatafiaStyled = styled.div `
3
4
  display: flex;
@@ -15,6 +16,9 @@ export const KeyFactCardListRatafiaStyled = styled.div `
15
16
  border-bottom: 8px solid var(--neutral-neutral-6);
16
17
  background: var(--neutral-neutral-6);
17
18
 
18
- height: 490px;
19
+ height: calc(100vh - 24.5rem);
20
+ @media ${device['portrait-tablets']} {
21
+ height: calc(100vh - 33.5rem);
22
+ }
19
23
  overflow-y: auto;
20
24
  `;
@@ -1,3 +1,4 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
1
2
  import styled from 'styled-components'
2
3
 
3
4
  export const KeyFactCardListRatafiaStyled = styled.div`
@@ -16,6 +17,9 @@ export const KeyFactCardListRatafiaStyled = styled.div`
16
17
  border-bottom: 8px solid var(--neutral-neutral-6);
17
18
  background: var(--neutral-neutral-6);
18
19
 
19
- height: 490px;
20
+ height: calc(100vh - 24.5rem);
21
+ @media ${device['portrait-tablets']} {
22
+ height: calc(100vh - 33.5rem);
23
+ }
20
24
  overflow-y: auto;
21
25
  `
@@ -16,8 +16,6 @@ export const KeyFactsLoadingContentRatafiaStyled = styled.div `
16
16
  }
17
17
 
18
18
  .key-facts-loading-content__animation-wrapper {
19
- height: calc(0.54 * 100vh);
20
-
21
19
  align-self: stretch;
22
20
 
23
21
  padding: 0 2rem 1.5rem 1.5rem;
@@ -29,8 +27,9 @@ export const KeyFactsLoadingContentRatafiaStyled = styled.div `
29
27
  border-bottom: 4px solid var(--neutral-neutral-6);
30
28
  background: var(--neutral-neutral-6);
31
29
 
30
+ height: calc(100vh - 24.5rem);
32
31
  @media ${device['portrait-tablets']} {
33
- height: 490px;
32
+ height: calc(100vh - 33.5rem);
34
33
  }
35
34
 
36
35
  &__animation {
@@ -17,8 +17,6 @@ export const KeyFactsLoadingContentRatafiaStyled = styled.div`
17
17
  }
18
18
 
19
19
  .key-facts-loading-content__animation-wrapper {
20
- height: calc(0.54 * 100vh);
21
-
22
20
  align-self: stretch;
23
21
 
24
22
  padding: 0 2rem 1.5rem 1.5rem;
@@ -30,8 +28,9 @@ export const KeyFactsLoadingContentRatafiaStyled = styled.div`
30
28
  border-bottom: 4px solid var(--neutral-neutral-6);
31
29
  background: var(--neutral-neutral-6);
32
30
 
31
+ height: calc(100vh - 24.5rem);
33
32
  @media ${device['portrait-tablets']} {
34
- height: 490px;
33
+ height: calc(100vh - 33.5rem);
35
34
  }
36
35
 
37
36
  &__animation {
@@ -9,7 +9,7 @@ export const ErrorRatafiaPageStyled = styled.div `
9
9
  gap: 1.5rem;
10
10
  background-color: var(--neutral-neutral-6);
11
11
 
12
- &__ctas {
12
+ .error-ratafia-page__ctas {
13
13
  text-align: center;
14
14
  &__button {
15
15
  display: block;
@@ -10,7 +10,7 @@ export const ErrorRatafiaPageStyled = styled.div`
10
10
  gap: 1.5rem;
11
11
  background-color: var(--neutral-neutral-6);
12
12
 
13
- &__ctas {
13
+ .error-ratafia-page__ctas {
14
14
  text-align: center;
15
15
  &__button {
16
16
  display: block;
@@ -3,7 +3,7 @@ import styled from 'styled-components';
3
3
  export const KeyFactsResultRatafiaPageStyled = styled.div `
4
4
  background-color: var(--neutral-neutral-6);
5
5
 
6
- &__content {
6
+ .key-facts-result-page__content {
7
7
  display: flex;
8
8
  flex-direction: column;
9
9
  align-items: flex-start;
@@ -4,7 +4,7 @@ import styled from 'styled-components'
4
4
  export const KeyFactsResultRatafiaPageStyled = styled.div`
5
5
  background-color: var(--neutral-neutral-6);
6
6
 
7
- &__content {
7
+ .key-facts-result-page__content {
8
8
  display: flex;
9
9
  flex-direction: column;
10
10
  align-items: flex-start;
@@ -14,6 +14,7 @@ export const LoginRatafiaPageStyled = styled.div `
14
14
  &__button {
15
15
  display: block;
16
16
  width: 100%;
17
+ height: auto;
17
18
  @media ${device['portrait-tablets']} {
18
19
  width: 12.5rem;
19
20
  }
@@ -15,6 +15,7 @@ export const LoginRatafiaPageStyled = styled.div`
15
15
  &__button {
16
16
  display: block;
17
17
  width: 100%;
18
+ height: auto;
18
19
  @media ${device['portrait-tablets']} {
19
20
  width: 12.5rem;
20
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "5.28.0",
3
+ "version": "5.28.1",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",