@npm_leadtech/legal-lib-components 7.62.0 → 7.63.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.
@@ -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,13 @@ 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
+ text-wrap: nowrap;
87
+ }
81
88
 
82
89
  @media ${device['portrait-tablets']} {
83
90
  .e-button {
@@ -91,8 +98,7 @@ export const BoxFormStyled = styled.div `
91
98
  }
92
99
 
93
100
  .box--form__footer__text {
94
- margin-right: 5px;
95
- width: 60%;
101
+ margin-right: 1rem;
96
102
 
97
103
  @media ${device['portrait-tablets']} {
98
104
  white-space: nowrap;
@@ -79,6 +79,13 @@ 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
+ text-wrap: nowrap;
88
+ }
82
89
 
83
90
  @media ${device['portrait-tablets']} {
84
91
  .e-button {
@@ -92,8 +99,7 @@ export const BoxFormStyled = styled.div`
92
99
  }
93
100
 
94
101
  .box--form__footer__text {
95
- margin-right: 5px;
96
- width: 60%;
102
+ margin-right: 1rem;
97
103
 
98
104
  @media ${device['portrait-tablets']} {
99
105
  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.1",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",