Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
545f3fa9
Commit
545f3fa9
authored
6 years ago
by
Martijn Cuppens
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Prevent text selection in placeholder images (#28218)
parent
94acdee6
1 merge request
!28721
Hot test
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
site/_layouts/examples.html
+4
-0
site/_layouts/examples.html
site/docs/4.2/assets/scss/_placeholder-img.scss
+1
-0
site/docs/4.2/assets/scss/_placeholder-img.scss
with
5 additions
and
0 deletions
+5
-0
site/_layouts/examples.html
+
4
-
0
View file @
545f3fa9
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
site/docs/4.2/assets/scss/_placeholder-img.scss
+
1
-
0
View file @
545f3fa9
...
...
@@ -7,6 +7,7 @@
.bd-placeholder-img
{
@include
font-size
(
1
.125rem
);
text-anchor
:
middle
;
user-select
:
none
;
}
.bd-placeholder-img-lg
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets