From e9cba5b4e2e194b34d6476028757c703c9c7277c Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Mon, 9 May 2022 21:58:08 +0100 Subject: [PATCH] fix: allow selecting text on profiles closes #433 --- external/lang | 2 +- src/context/intermediate/popovers/UserProfile.module.scss | 4 ++++ src/context/intermediate/popovers/UserProfile.tsx | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/external/lang b/external/lang index f1a4d54a..74f2b711 160000 --- a/external/lang +++ b/external/lang @@ -1 +1 @@ -Subproject commit f1a4d54a5567f6bce7dfab0bda7e9381fc5d062b +Subproject commit 74f2b7110db5abb5cde74903378b0c418e4ffb14 diff --git a/src/context/intermediate/popovers/UserProfile.module.scss b/src/context/intermediate/popovers/UserProfile.module.scss index 2b6be11e..d85fe474 100644 --- a/src/context/intermediate/popovers/UserProfile.module.scss +++ b/src/context/intermediate/popovers/UserProfile.module.scss @@ -100,6 +100,10 @@ background: var(--primary-background); border-radius: 0 0 var(--border-radius) var(--border-radius); + .markdown { + user-select: text; + } + .empty { display: flex; gap: 10px; diff --git a/src/context/intermediate/popovers/UserProfile.tsx b/src/context/intermediate/popovers/UserProfile.tsx index 065c92f4..c2b6b521 100644 --- a/src/context/intermediate/popovers/UserProfile.tsx +++ b/src/context/intermediate/popovers/UserProfile.tsx @@ -338,7 +338,9 @@ export const UserProfile = observer( )} - +
+ +
{/*
*/} ) : (