0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

replacement fix for #23257 without old history

This commit is contained in:
Mark Otto 2017-08-08 21:45:33 -07:00 committed by Mark Otto
parent 209a963539
commit cf3bfa04ef
2 changed files with 12 additions and 12 deletions

View File

@ -96,15 +96,10 @@
.tooltip('_fixTitle')
})
anchors.options = {
icon: '#'
}
anchors.add('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5')
$('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5').wrapInner('<span></span>')
})
}(jQuery))
;(function () {
'use strict'
anchors.options = {
icon: '#'
}
anchors.add('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5')
}())

View File

@ -11,9 +11,14 @@
> h2[id],
> h3[id],
> h4[id] {
pointer-events: none;
> span,
> a {
pointer-events: auto;
}
&::before {
position: relative;
z-index: -1;
display: block;
height: 6rem;
margin-top: -6rem;