mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-25 06:21:26 +02:00
replacement fix for #23257 without old history
This commit is contained in:
@@ -96,15 +96,10 @@
|
|||||||
.tooltip('_fixTitle')
|
.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))
|
}(jQuery))
|
||||||
|
|
||||||
;(function () {
|
|
||||||
'use strict'
|
|
||||||
|
|
||||||
anchors.options = {
|
|
||||||
icon: '#'
|
|
||||||
}
|
|
||||||
anchors.add('.bd-content > h2, .bd-content > h3, .bd-content > h4, .bd-content > h5')
|
|
||||||
}())
|
|
||||||
|
@@ -11,9 +11,14 @@
|
|||||||
> h2[id],
|
> h2[id],
|
||||||
> h3[id],
|
> h3[id],
|
||||||
> h4[id] {
|
> h4[id] {
|
||||||
|
pointer-events: none;
|
||||||
|
|
||||||
|
> span,
|
||||||
|
> a {
|
||||||
|
pointer-events: auto;
|
||||||
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
position: relative;
|
|
||||||
z-index: -1;
|
|
||||||
display: block;
|
display: block;
|
||||||
height: 6rem;
|
height: 6rem;
|
||||||
margin-top: -6rem;
|
margin-top: -6rem;
|
||||||
|
Reference in New Issue
Block a user