From 586aa12d8c99204e3c1c5197fa9f394a8c00c815 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Wed, 3 May 2017 17:30:42 +0900 Subject: [PATCH] Make text inside siteInfo__wrapper unselectable Closes #8650 Auditors: Test Plan: 1. Open https://brave.com 2. Click the lock icon 3. Make sure you cannot select the text on the dialog --- js/components/siteInfo.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/components/siteInfo.js b/js/components/siteInfo.js index d2edae2289..16c44796cd 100644 --- a/js/components/siteInfo.js +++ b/js/components/siteInfo.js @@ -284,7 +284,11 @@ const styles = StyleSheet.create({ siteInfo__wrapper: { maxHeight: '300px', maxWidth: '400px', - width: 'auto' + width: 'auto', + + // Issue #8650 + userSelect: 'none', + cursor: 'default' }, siteInfo__wrapper__large: { // temporary workaround