@npm_leadtech/legal-lib-components 7.54.2 → 7.54.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.
@@ -93,10 +93,12 @@ export const CardPaneStyled = styled.div `
93
93
 
94
94
  &--active {
95
95
  color: var(--primary-main);
96
+ font-weight: 700;
96
97
  }
97
98
 
98
99
  &--inactive {
99
100
  color: var(--error-main);
101
+ font-weight: 700;
100
102
  }
101
103
  }
102
104
 
@@ -106,16 +108,10 @@ export const CardPaneStyled = styled.div `
106
108
  }
107
109
  .marker {
108
110
  display: inline-block;
109
- margin-left: -10px;
110
- @-moz-document url-prefix() {
111
- margin-left: 0px;
112
- }
113
- @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
114
- margin-left: 0px;
115
- }
111
+ margin-left: 0px;
116
112
  }
117
113
  .position {
118
- margin-left: 2px;
114
+ margin-left: 0px;
119
115
  @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
120
116
  margin-left: 15px;
121
117
  }
@@ -94,10 +94,12 @@ export const CardPaneStyled = styled.div`
94
94
 
95
95
  &--active {
96
96
  color: var(--primary-main);
97
+ font-weight: 700;
97
98
  }
98
99
 
99
100
  &--inactive {
100
101
  color: var(--error-main);
102
+ font-weight: 700;
101
103
  }
102
104
  }
103
105
 
@@ -107,16 +109,10 @@ export const CardPaneStyled = styled.div`
107
109
  }
108
110
  .marker {
109
111
  display: inline-block;
110
- margin-left: -10px;
111
- @-moz-document url-prefix() {
112
- margin-left: 0px;
113
- }
114
- @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
115
- margin-left: 0px;
116
- }
112
+ margin-left: 0px;
117
113
  }
118
114
  .position {
119
- margin-left: 2px;
115
+ margin-left: 0px;
120
116
  @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
121
117
  margin-left: 15px;
122
118
  }
@@ -9,7 +9,7 @@ const CardPaneInfo = ({ dataQA, description, subdescription, id, title, handleCl
9
9
  else if (description === 'Inactive') {
10
10
  descriptionClass = 'pane--description--inactive';
11
11
  }
12
- return (_jsxs("div", { className: 'pane-wrapper', children: [paneTitle, _jsx("div", { "data-testid": 'description-div', className: descriptionClass, children: _jsx("li", { className: 'position', children: _jsx("div", { className: 'marker', children: description }) }) })] }, id));
12
+ return (_jsxs("div", { className: 'pane-wrapper', children: [paneTitle, _jsx("div", { "data-testid": 'description-div', className: descriptionClass, children: _jsx("div", { className: 'position', children: _jsx("div", { className: 'marker', children: description }) }) })] }, id));
13
13
  }
14
14
  return (_jsxs("div", { className: 'pane-wrapper', children: [paneTitle, _jsxs("div", { className: 'pane--description', children: [description, subdescription !== undefined && _jsx("span", { className: 'pane--description--subdescription', children: subdescription })] })] }, id));
15
15
  };
@@ -25,9 +25,9 @@ const CardPaneInfo: FC<CardPaneInfoProps> = ({ dataQA, description, subdescripti
25
25
  <div key={id} className='pane-wrapper'>
26
26
  {paneTitle}
27
27
  <div data-testid='description-div' className={descriptionClass}>
28
- <li className='position'>
28
+ <div className='position'>
29
29
  <div className='marker'>{description}</div>
30
- </li>
30
+ </div>
31
31
  </div>
32
32
  </div>
33
33
  )
@@ -278,7 +278,7 @@ export const MenuItemsStyled = styled.div `
278
278
  }
279
279
 
280
280
  li.menu-items-li {
281
- width: 100%;
281
+ max-width: 100%;
282
282
  margin-right: 2.5rem;
283
283
  border-radius: var(--s-border-radius);
284
284
  transition: all 0.3s ease;
@@ -279,7 +279,7 @@ export const MenuItemsStyled = styled.div`
279
279
  }
280
280
 
281
281
  li.menu-items-li {
282
- width: 100%;
282
+ max-width: 100%;
283
283
  margin-right: 2.5rem;
284
284
  border-radius: var(--s-border-radius);
285
285
  transition: all 0.3s ease;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "7.54.2",
3
+ "version": "7.54.4",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",