diff --git a/web/src/components/Name/Name.module.scss b/web/src/components/Name/Name.module.scss
new file mode 100644
index 0000000..5cb4f83
--- /dev/null
+++ b/web/src/components/Name/Name.module.scss
@@ -0,0 +1,6 @@
+.name {
+ font-size: 1.15rem;
+ font-family: monospace;
+ white-space: nowrap;
+ overflow-x: auto;
+}
diff --git a/web/src/components/Name/Name.tsx b/web/src/components/Name/Name.tsx
new file mode 100644
index 0000000..bad0c11
--- /dev/null
+++ b/web/src/components/Name/Name.tsx
@@ -0,0 +1,8 @@
+import React, { PropsWithChildren, ReactElement } from "react";
+import styles from "./Name.module.scss";
+
+function Name({ children }: PropsWithChildren
): ReactElement {
+ return {children};
+}
+
+export default Name;
diff --git a/web/src/components/VNCCtrlAltDelConfirmModal/VNCCtrlAltDelConfirmModal.module.scss b/web/src/components/VNCCtrlAltDelConfirmModal/VNCCtrlAltDelConfirmModal.module.scss
index d7fd581..8578ffa 100644
--- a/web/src/components/VNCCtrlAltDelConfirmModal/VNCCtrlAltDelConfirmModal.module.scss
+++ b/web/src/components/VNCCtrlAltDelConfirmModal/VNCCtrlAltDelConfirmModal.module.scss
@@ -3,14 +3,3 @@
gap: 1rem;
margin-top: 2rem;
}
-
-.serverName {
- border: 1px solid var(--colorSeparator);
- border-radius: 0.25rem;
- overflow-x: auto;
- padding: 1rem;
- color: var(--colorEmphasisMedium);
- white-space: nowrap;
- font-size: 1.15rem;
- font-weight: bold;
-}
diff --git a/web/src/components/VNCCtrlAltDelConfirmModal/VNCCtrlAltDelConfirmModal.tsx b/web/src/components/VNCCtrlAltDelConfirmModal/VNCCtrlAltDelConfirmModal.tsx
index 025e34b..bcd50d1 100644
--- a/web/src/components/VNCCtrlAltDelConfirmModal/VNCCtrlAltDelConfirmModal.tsx
+++ b/web/src/components/VNCCtrlAltDelConfirmModal/VNCCtrlAltDelConfirmModal.tsx
@@ -2,6 +2,7 @@ import React from "react";
import { ReactElement } from "react";
import Button from "../Button/Button";
import Modal from "../Modal/Modal";
+import Name from "../Name/Name";
import styles from "./VNCCtrlAltDelConfirmModal.module.scss";
type Props = {
@@ -21,9 +22,9 @@ export default function VNCCtrlAltDelConfirmModal({
Are you sure, you would like to send Ctrl + Alt + Del to
- {instanceName}
+ {instanceName}
- This might trigger a reboot.
+ This might trigger an instance restart.