From 375cdfec6883cac983a994b0061cc416ec3d1f08 Mon Sep 17 00:00:00 2001 From: Matt Seddon Date: Wed, 15 Mar 2023 06:34:02 +1100 Subject: [PATCH] apply review feedback (fix massive bug) --- .../src/shared/components/emptyState/styles.module.scss | 3 ++- .../components/sectionContainer/SectionContainer.tsx | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/webview/src/shared/components/emptyState/styles.module.scss b/webview/src/shared/components/emptyState/styles.module.scss index 0613e16a2b..1deb3a0cfd 100644 --- a/webview/src/shared/components/emptyState/styles.module.scss +++ b/webview/src/shared/components/emptyState/styles.module.scss @@ -7,7 +7,8 @@ .emptySection { width: 100%; - height: 33vh; + min-height: 33vh; + height: auto; } .emptyStateText { diff --git a/webview/src/shared/components/sectionContainer/SectionContainer.tsx b/webview/src/shared/components/sectionContainer/SectionContainer.tsx index e2860f896d..4b9171e447 100644 --- a/webview/src/shared/components/sectionContainer/SectionContainer.tsx +++ b/webview/src/shared/components/sectionContainer/SectionContainer.tsx @@ -1,7 +1,10 @@ import cx from 'classnames' import React, { MouseEvent } from 'react' import { Section as PlotsSection } from 'dvc/src/plots/webview/contract' -import { Section as SetupSection } from 'dvc/src/setup/webview/contract' +import { + STUDIO_URL, + Section as SetupSection +} from 'dvc/src/setup/webview/contract' import styles from './styles.module.scss' import { Icon } from '../Icon' import { ChevronDown, ChevronRight, Info } from '../icons' @@ -71,7 +74,7 @@ export const SectionDescription = { [SetupSection.STUDIO]: ( {"Configure the extension's connection to "} - Studio.
+ Studio.
Studio provides a collaboration platform for Machine Learning and is free for small teams and individual contributors.