diff --git a/plane-src/apps/web/core/components/analytics/work-items/created-vs-resolved.tsx b/plane-src/apps/web/core/components/analytics/work-items/created-vs-resolved.tsx index e43c640..b9439d3 100644 --- a/plane-src/apps/web/core/components/analytics/work-items/created-vs-resolved.tsx +++ b/plane-src/apps/web/core/components/analytics/work-items/created-vs-resolved.tsx @@ -106,7 +106,6 @@ const CreatedVsResolved = observer(function CreatedVsResolved() { areas={areas} xAxis={{ key: "name", - label: t("date"), }} yAxis={{ key: "count", diff --git a/plane-src/apps/web/core/components/analytics/work-items/priority-chart.tsx b/plane-src/apps/web/core/components/analytics/work-items/priority-chart.tsx index b04cf3f..2a94e08 100644 --- a/plane-src/apps/web/core/components/analytics/work-items/priority-chart.tsx +++ b/plane-src/apps/web/core/components/analytics/work-items/priority-chart.tsx @@ -210,15 +210,15 @@ const PriorityChart = observer(function PriorityChart(props: Props) { bars={bars} barSize={chart_model === EChartModels.STACKED ? 72 : 86} margin={{ - top: 12, + top: isPeekView ? 32 : 12, right: 16, - bottom: 34, + bottom: isPeekView ? 28 : 34, left: 8, }} xAxis={{ key: "name", label: xAxisLabel, - dy: 30, + dy: isPeekView ? 24 : 30, }} yAxis={{ key: "count", diff --git a/plane-src/apps/web/core/components/home/home-project-insights.tsx b/plane-src/apps/web/core/components/home/home-project-insights.tsx index aa76697..6cb4c3b 100644 --- a/plane-src/apps/web/core/components/home/home-project-insights.tsx +++ b/plane-src/apps/web/core/components/home/home-project-insights.tsx @@ -447,7 +447,7 @@ function HomeActivityMiniCard(props: HomeProjectInsightsProps) {
Активность
Касания за последние 7 дней.
-
{recentTouchpoints}
+
{recentTouchpoints}
@@ -525,7 +525,7 @@ export const HomeAnalyticsRail = observer(function HomeAnalyticsRail(props: Home
Аналитика проекта
-
{completionRate}%
+
{completionRate}%
diff --git a/plane-src/apps/web/styles/globals.css b/plane-src/apps/web/styles/globals.css index e13ffcb..636fc52 100644 --- a/plane-src/apps/web/styles/globals.css +++ b/plane-src/apps/web/styles/globals.css @@ -2974,7 +2974,7 @@ .nodedc-home-main-column { --nodedc-home-gantt-height: 35.75rem; - --nodedc-home-individual-chart-height: 11.25rem; + --nodedc-home-individual-chart-height: 14.25rem; display: flex; min-width: 0; min-height: 0; @@ -3163,10 +3163,16 @@ background: rgba(0, 0, 0, 0.18) !important; } + .nodedc-home-individual-analytics .nodedc-analytics-chart-viewport { + display: flex; + align-items: flex-end; + padding: 0.9rem 0.45rem 0.2rem; + } + .nodedc-home-individual-analytics .nodedc-analytics-chart-inner { width: 100% !important; min-width: 22rem; - height: calc(var(--nodedc-home-individual-chart-height) - 0.75rem) !important; + height: calc(var(--nodedc-home-individual-chart-height) - 1.1rem) !important; } .nodedc-home-individual-analytics .nodedc-analytics-table-surface table { @@ -3198,15 +3204,22 @@ } .nodedc-home-analytics-intro { + position: relative; min-height: 10rem; } .nodedc-home-activity-mini { + position: relative; flex: 0 0 auto; min-height: 15rem; overflow: hidden; } + .nodedc-home-analytics-intro > .flex:first-child, + .nodedc-home-activity-mini > .flex:first-child { + padding-right: 2.75rem; + } + .nodedc-home-activity-mini-chart { position: relative; height: 10.5rem; @@ -4643,6 +4656,18 @@ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02) !important; } + .nodedc-home-corner-badge { + position: absolute; + top: 0.125rem; + right: 0.125rem; + width: 2.5rem; + min-width: 2.5rem; + height: 2.5rem; + min-height: 2.5rem; + padding: 0 !important; + border-radius: 999px; + } + .nodedc-home-focus-track { height: 0.62rem; overflow: hidden;