From: Martijn Cuppens Date: Sat, 9 Feb 2019 12:21:41 +0000 (+0100) Subject: Prevent text selection in placeholder images (#28218) X-Git-Tag: v4.3.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=545f3fa9219bc52dd8c22b582e40d66f135b9044;p=thirdparty%2Fbootstrap.git Prevent text selection in placeholder images (#28218) --- 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 {