Skip to content

Commit 4f9b2ce

Browse files
committed
refactor(app): don't allow users to select text during error recovery
1 parent a8e9441 commit 4f9b2ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/organisms/ErrorRecoveryFlows/shared/RecoveryInterventionModal.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ const SMALL_MODAL_STYLE = css`
5858
padding: ${SPACING.spacing32};
5959
width: 100%;
6060
overflow-y: ${OVERFLOW_AUTO};
61+
user-select: none;
6162
6263
@media ${RESPONSIVENESS.touchscreenMediaQuerySpecs} {
6364
padding: ${SPACING.spacing32};
@@ -69,6 +70,7 @@ const LARGE_MODAL_STYLE = css`
6970
height: 26.75rem;
7071
width: 100%;
7172
overflow-y: ${OVERFLOW_AUTO};
73+
user-select: none;
7274
7375
@media ${RESPONSIVENESS.touchscreenMediaQuerySpecs} {
7476
height: 100%;

0 commit comments

Comments
 (0)