@ssa-ui-kit/core 1.1.3 → 1.1.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ssa-ui-kit/core",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "private": false,
@@ -217,11 +217,10 @@ export const FullscreenAndTitle: StoryObj<typeof PieChart> = () => {
217
217
  `}
218
218
  labelListStyles={css`
219
219
  li {
220
- height: ${isFullscreenMode ? 'auto' : '34px'};
220
+ height: 34px;
221
221
  }
222
222
  h6 {
223
223
  color: ${theme.colors.greyDarker};
224
- line-height: 34px;
225
224
  font-size: 14px;
226
225
  &:nth-of-type(1) {
227
226
  font-weight: 500;
@@ -68,8 +68,9 @@ export const PieChartLegend = ({
68
68
  css={{
69
69
  alignSelf: 'start',
70
70
  marginRight: 5,
71
- height: 'auto',
72
- lineHeight: '34px',
71
+ height: '100%',
72
+ lineHeight: '14px',
73
+ fontSize: 14,
73
74
  alignContent: 'center',
74
75
  }}>
75
76
  {typeof renderLabel === 'function'
@@ -7,7 +7,7 @@ export const Content = styled(CardContent)<{ isFullscreenMode?: boolean }>`
7
7
  display: flex;
8
8
  justify-content: space-between;
9
9
  gap: 5px;
10
- height: ${({ isFullscreenMode }) => (isFullscreenMode ? '100%' : 'auto')};
10
+ height: 100%;
11
11
 
12
12
  ${({ theme }) => theme.mediaQueries.md} {
13
13
  max-width: initial;