diff --git a/src/client/webapp/q-module.ts b/archive/q-module.ts similarity index 100% rename from src/client/webapp/q-module.ts rename to archive/q-module.ts diff --git a/src/client/webapp/elements-styles/lists/components/message-element.scss b/src/client/webapp/elements-styles/lists/components/message-element.scss index 4d73646..8d210f0 100644 --- a/src/client/webapp/elements-styles/lists/components/message-element.scss +++ b/src/client/webapp/elements-styles/lists/components/message-element.scss @@ -3,6 +3,7 @@ .message-react { display: flex; padding: 4px 16px; + user-select: text; &.continued { margin-top: -4px; @@ -33,7 +34,6 @@ flex-flow: column; align-items: flex-start; margin-left: 16px; /* putting the margin here rather than on the avatar makes selecting better */ - user-select: text; } .header { @@ -61,6 +61,7 @@ color: theme.$text-muted; margin-left: 4px; white-space: nowrap; + user-select: none; } .content { diff --git a/src/client/webapp/util.ts b/src/client/webapp/util.ts index 7233974..8e478af 100644 --- a/src/client/webapp/util.ts +++ b/src/client/webapp/util.ts @@ -8,14 +8,6 @@ import * as path from 'path'; import * as socketio from 'socket.io-client'; -interface WithPotentialErrorParams { - taskFunc: (() => Promise), - errorIndicatorAddFunc: ((element: Element) => Promise), - errorContainer: HTMLElement, - errorClasses?: string[], - errorMessage: string, -} - export default class Util { static async exists(path: string): Promise { // Check if a file exists