diff options
author | Martijn Cuppens <martijn.cuppens@gmail.com> | 2019-02-09 15:21:41 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-02-09 15:21:41 +0300 |
commit | 545f3fa9219bc52dd8c22b582e40d66f135b9044 (patch) | |
tree | 05d5f0b104148b3d134bbf8d436bd7ffb27c012d /site | |
parent | 94acdee69105cee320f8def204763a9140c84652 (diff) |
Prevent text selection in placeholder images (#28218)
Diffstat (limited to 'site')
-rw-r--r-- | site/_layouts/examples.html | 4 | ||||
-rw-r--r-- | site/docs/4.2/assets/scss/_placeholder-img.scss | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/site/_layouts/examples.html b/site/_layouts/examples.html index c37dd923d1..cecd1145d9 100644 --- a/site/_layouts/examples.html +++ b/site/_layouts/examples.html @@ -16,6 +16,10 @@ .bd-placeholder-img { font-size: 1.125rem; text-anchor: middle; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } @media (min-width: 768px) { diff --git a/site/docs/4.2/assets/scss/_placeholder-img.scss b/site/docs/4.2/assets/scss/_placeholder-img.scss index 3fe6a8bbac..90a29544e7 100644 --- a/site/docs/4.2/assets/scss/_placeholder-img.scss +++ b/site/docs/4.2/assets/scss/_placeholder-img.scss @@ -7,6 +7,7 @@ .bd-placeholder-img { @include font-size(1.125rem); text-anchor: middle; + user-select: none; } .bd-placeholder-img-lg { |