From e9bfb1c89e9e813593bb96f8e3f6bb17a1d2fbb5 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Sun, 17 Aug 2014 23:08:53 -0700 Subject: [PATCH] make share link input field readonly, with css tweaks --- app/assets/javascripts/discourse/templates/share.js.handlebars | 2 +- app/assets/stylesheets/common/base/share_link.scss | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/templates/share.js.handlebars b/app/assets/javascripts/discourse/templates/share.js.handlebars index 8ba4217c0ea..5caf31a35a7 100644 --- a/app/assets/javascripts/discourse/templates/share.js.handlebars +++ b/app/assets/javascripts/discourse/templates/share.js.handlebars @@ -4,7 +4,7 @@ {{bound-raw-date date}} {{/if}} -
+
{{each shareLinks itemView='share-link'}} diff --git a/app/assets/stylesheets/common/base/share_link.scss b/app/assets/stylesheets/common/base/share_link.scss index 777e8393563..bb6d35596e3 100644 --- a/app/assets/stylesheets/common/base/share_link.scss +++ b/app/assets/stylesheets/common/base/share_link.scss @@ -47,5 +47,7 @@ input[type=text] { font-size: 16px; margin-bottom: 10px; + cursor: text; + background-color: $secondary; } }