diff --git a/apps/client/src/features/app-settings/panel/network-panel/GenerateLinkForm.module.scss b/apps/client/src/features/app-settings/panel/network-panel/GenerateLinkForm.module.scss index ae0a0cf65..e6f932ec7 100644 --- a/apps/client/src/features/app-settings/panel/network-panel/GenerateLinkForm.module.scss +++ b/apps/client/src/features/app-settings/panel/network-panel/GenerateLinkForm.module.scss @@ -3,3 +3,12 @@ background: $ui-white; border-radius: 3px; } + +.column { + margin-top: 1rem; + display: flex; + flex-direction: column; + gap: 0.5rem; + color: $label-gray; + user-select: text; +} diff --git a/apps/client/src/features/app-settings/panel/network-panel/GenerateLinkForm.tsx b/apps/client/src/features/app-settings/panel/network-panel/GenerateLinkForm.tsx index d412b0d5d..8773bd885 100644 --- a/apps/client/src/features/app-settings/panel/network-panel/GenerateLinkForm.tsx +++ b/apps/client/src/features/app-settings/panel/network-panel/GenerateLinkForm.tsx @@ -6,13 +6,12 @@ import { Button, Select, Switch } from '@chakra-ui/react'; import { generateUrl } from '../../../../common/api/session'; import { maybeAxiosError } from '../../../../common/api/utils'; import Info from '../../../../common/components/info/Info'; -import ExternalLink from '../../../../common/components/link/external-link/ExternalLink'; import useInfo from '../../../../common/hooks-query/useInfo'; import useUrlPresets from '../../../../common/hooks-query/useUrlPresets'; import copyToClipboard from '../../../../common/utils/copyToClipboard'; import { preventEscape } from '../../../../common/utils/keyEvent'; import { linkToOtherHost } from '../../../../common/utils/linkUtils'; -import { serverURL } from '../../../../externals'; +import { currentHostName, isOntimeCloud, serverURL } from '../../../../externals'; import * as Panel from '../../panel-utils/PanelUtils'; import style from './GenerateLinkForm.module.scss'; @@ -137,9 +136,9 @@ export default function GenerateLinkForm() { > {formState === 'success' ? 'Link copied to clipboard!' : 'Update share link'} -