Skip to content

Commit

Permalink
Prevent text selection in placeholder images (#28218)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnCuppens authored and XhmikosR committed Feb 9, 2019
1 parent 94acdee commit 545f3fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions site/_layouts/examples.html
Expand Up @@ -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) {
Expand Down
1 change: 1 addition & 0 deletions site/docs/4.2/assets/scss/_placeholder-img.scss
Expand Up @@ -7,6 +7,7 @@
.bd-placeholder-img {
@include font-size(1.125rem);
text-anchor: middle;
user-select: none;
}

.bd-placeholder-img-lg {
Expand Down

0 comments on commit 545f3fa

Please sign in to comment.