From ea3b0e93981e63a644f90dd8862b1d271a148916 Mon Sep 17 00:00:00 2001 From: Frankie Bagnardi Date: Mon, 11 Nov 2013 06:02:53 -0800 Subject: [PATCH 1/2] #343 modal text can't be selected --- src/modules/modal.less | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/modules/modal.less b/src/modules/modal.less index 93efc6146..689a4d2d6 100755 --- a/src/modules/modal.less +++ b/src/modules/modal.less @@ -31,6 +31,11 @@ -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; + + -webkit-user-select: initial; + -moz-user-select: initial; + -ms-user-select: initial; + user-select: initial; } @@ -285,4 +290,4 @@ width: 44%; margin-left: -22%; } -} \ No newline at end of file +} From a7a2380084f0612502112599d0236b472b2665ed Mon Sep 17 00:00:00 2001 From: Frankie Bagnardi Date: Mon, 11 Nov 2013 06:09:40 -0800 Subject: [PATCH 2/2] replaced "initial" with "text" I believe this is what we want. [mdn](https://developer.mozilla.org/en-US/docs/Web/CSS/user-select) doesn't specify which is the default. Chrome works with `initial`, but firefox doesn't. --- src/modules/modal.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/modal.less b/src/modules/modal.less index 689a4d2d6..326874743 100755 --- a/src/modules/modal.less +++ b/src/modules/modal.less @@ -32,10 +32,10 @@ -moz-border-radius: 5px; border-radius: 5px; - -webkit-user-select: initial; - -moz-user-select: initial; - -ms-user-select: initial; - user-select: initial; + -webkit-user-select: text; + -moz-user-select: text; + -ms-user-select: text; + user-select: text; }