diff --git a/package-lock.json b/package-lock.json index 302fd2888..fe8d09a11 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@sentry/nextjs": "7.58.1", "@tanstack/react-query": "4.29.5", "@tanstack/react-query-devtools": "4.29.5", - "@taskany/bricks": "1.23.4", + "@taskany/bricks": "1.24.0", "@taskany/colors": "1.1.0", "@taskany/icons": "1.0.0", "@tippyjs/react": "4.2.6", @@ -5812,9 +5812,9 @@ } }, "node_modules/@taskany/bricks": { - "version": "1.23.4", - "resolved": "https://registry.npmjs.org/@taskany/bricks/-/bricks-1.23.4.tgz", - "integrity": "sha512-TW0GJasD1yFb35jhQfe0J//Ns5E7ete3P6tbk+cwCvyPd5dTC3OGpZ2UD+aXApYwQ5PVTzQSDpL++W3oiF8Tlg==", + "version": "1.24.0", + "resolved": "https://registry.npmjs.org/@taskany/bricks/-/bricks-1.24.0.tgz", + "integrity": "sha512-w0ebvHySh0CIO84zDcJSjIvmYgtA9vYhDHTP2V/dFf5DQoWLGE8k3dhTuvBrjoSeLJ8hRGDzhDr0ZZj2JqHTfw==", "dependencies": { "@monaco-editor/react": "4.5.1", "@taskany/colors": "1.1.0", @@ -22506,9 +22506,9 @@ } }, "@taskany/bricks": { - "version": "1.23.4", - "resolved": "https://registry.npmjs.org/@taskany/bricks/-/bricks-1.23.4.tgz", - "integrity": "sha512-TW0GJasD1yFb35jhQfe0J//Ns5E7ete3P6tbk+cwCvyPd5dTC3OGpZ2UD+aXApYwQ5PVTzQSDpL++W3oiF8Tlg==", + "version": "1.24.0", + "resolved": "https://registry.npmjs.org/@taskany/bricks/-/bricks-1.24.0.tgz", + "integrity": "sha512-w0ebvHySh0CIO84zDcJSjIvmYgtA9vYhDHTP2V/dFf5DQoWLGE8k3dhTuvBrjoSeLJ8hRGDzhDr0ZZj2JqHTfw==", "requires": { "@monaco-editor/react": "4.5.1", "@taskany/colors": "1.1.0", diff --git a/package.json b/package.json index 75bf7f6bf..2ad50c513 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@sentry/nextjs": "7.58.1", "@tanstack/react-query": "4.29.5", "@tanstack/react-query-devtools": "4.29.5", - "@taskany/bricks": "1.23.4", + "@taskany/bricks": "1.24.0", "@taskany/colors": "1.1.0", "@taskany/icons": "1.0.0", "@tippyjs/react": "4.2.6", diff --git a/src/components/GoalPage/GoalPage.tsx b/src/components/GoalPage/GoalPage.tsx index fc6871db3..184da2014 100644 --- a/src/components/GoalPage/GoalPage.tsx +++ b/src/components/GoalPage/GoalPage.tsx @@ -71,14 +71,6 @@ const IssueContent = styled(PageContent)` gap: ${gapM}; `; -const StyledCard = styled(Card)` - min-height: auto; // FIXME: https://github.com/taskany-inc/bricks/issues/211 -`; - -const StyledCardContent = styled(CardContent)` - padding-bottom: 12px; // FIXME: https://github.com/taskany-inc/bricks/issues/211 -`; - const StyledCardInfo = styled(CardInfo)` display: grid; grid-template-columns: 6fr 6fr; @@ -298,14 +290,14 @@ export const GoalPage = ({ user, ssrTime, params: { id } }: ExternalPageProps<{
- +
- + {goal.description ? ( {goal.description} ) : ( @@ -313,8 +305,8 @@ export const GoalPage = ({ user, ssrTime, params: { id } }: ExternalPageProps<{ {tr('No description provided')} )} - -
+ + {nullable(goal, ({ activityFeed, id, goalAchiveCriteria, relations, _isEditable }) => (