fix: allow selecting text on profiles

closes #433
This commit is contained in:
Paul Makles 2022-05-09 21:58:08 +01:00
parent e9258d7c23
commit e9cba5b4e2
3 changed files with 8 additions and 2 deletions

2
external/lang vendored

@ -1 +1 @@
Subproject commit f1a4d54a5567f6bce7dfab0bda7e9381fc5d062b Subproject commit 74f2b7110db5abb5cde74903378b0c418e4ffb14

View file

@ -100,6 +100,10 @@
background: var(--primary-background); background: var(--primary-background);
border-radius: 0 0 var(--border-radius) var(--border-radius); border-radius: 0 0 var(--border-radius) var(--border-radius);
.markdown {
user-select: text;
}
.empty { .empty {
display: flex; display: flex;
gap: 10px; gap: 10px;

View file

@ -338,7 +338,9 @@ export const UserProfile = observer(
<Text id="app.special.popovers.user_profile.sub.information" /> <Text id="app.special.popovers.user_profile.sub.information" />
</div> </div>
)} )}
<div className={styles.markdown}>
<Markdown content={profile?.content} /> <Markdown content={profile?.content} />
</div>
{/*<div className={styles.category}><Text id="app.special.popovers.user_profile.sub.connections" /></div>*/} {/*<div className={styles.category}><Text id="app.special.popovers.user_profile.sub.connections" /></div>*/}
</div> </div>
) : ( ) : (