@npm_leadtech/legal-lib-components 7.62.0 → 7.63.0

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.
@@ -48,5 +48,5 @@ const LOGOS = {
48
48
  }
49
49
  };
50
50
  export const Logo = ({ className, siteName = 'lawdistrict', type = 'default', width, height, isLoadingLazy = false }) => {
51
- return (_jsx("img", { className: className, src: LOGOS[siteName.toLowerCase() ?? 'lawdistrict'][type], alt: `${siteName} logo`, width: width, height: height, loading: isLoadingLazy ? 'lazy' : 'eager' }));
51
+ return (_jsx("img", { className: className, src: LOGOS[siteName.toLowerCase()]?.[type] ?? LOGOS['lawdistrict']?.[type], alt: `${siteName} logo`, width: width, height: height, loading: isLoadingLazy ? 'lazy' : 'eager' }));
52
52
  };
@@ -65,7 +65,7 @@ export const Logo: FC<LogoProps> = ({
65
65
  return (
66
66
  <img
67
67
  className={className}
68
- src={LOGOS[siteName.toLowerCase() ?? 'lawdistrict'][type]}
68
+ src={LOGOS[siteName.toLowerCase()]?.[type] ?? LOGOS['lawdistrict']?.[type]}
69
69
  alt={`${siteName} logo`}
70
70
  width={width}
71
71
  height={height}
@@ -78,6 +78,12 @@ export const BoxFormStyled = styled.div `
78
78
  display: flex;
79
79
  justify-content: space-between;
80
80
  padding: 1.5rem 0 1rem 0;
81
+ flex-wrap: wrap;
82
+ gap: 1rem;
83
+
84
+ .e-button {
85
+ flex: 1;
86
+ }
81
87
 
82
88
  @media ${device['portrait-tablets']} {
83
89
  .e-button {
@@ -91,8 +97,7 @@ export const BoxFormStyled = styled.div `
91
97
  }
92
98
 
93
99
  .box--form__footer__text {
94
- margin-right: 5px;
95
- width: 60%;
100
+ margin-right: 1rem;
96
101
 
97
102
  @media ${device['portrait-tablets']} {
98
103
  white-space: nowrap;
@@ -79,6 +79,12 @@ export const BoxFormStyled = styled.div`
79
79
  display: flex;
80
80
  justify-content: space-between;
81
81
  padding: 1.5rem 0 1rem 0;
82
+ flex-wrap: wrap;
83
+ gap: 1rem;
84
+
85
+ .e-button {
86
+ flex: 1;
87
+ }
82
88
 
83
89
  @media ${device['portrait-tablets']} {
84
90
  .e-button {
@@ -92,8 +98,7 @@ export const BoxFormStyled = styled.div`
92
98
  }
93
99
 
94
100
  .box--form__footer__text {
95
- margin-right: 5px;
96
- width: 60%;
101
+ margin-right: 1rem;
97
102
 
98
103
  @media ${device['portrait-tablets']} {
99
104
  white-space: nowrap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "7.62.0",
3
+ "version": "7.63.0",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",