Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 01952ec

Browse files
devversionThomasBurleson
authored andcommitted
fix(subheader): transform span to div to allow custom styling.
* Currently `span` was used as a parent of the transcluded content, which limits content to only texgt. Fixes #8063. Closes #8069
1 parent 61b742e commit 01952ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/subheader/subheader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function MdSubheaderDirective($mdSticky, $compile, $mdTheming, $mdUtil) {
4949
template: (
5050
'<div class="md-subheader _md">' +
5151
' <div class="_md-subheader-inner">' +
52-
' <span class="_md-subheader-content"></span>' +
52+
' <div class="_md-subheader-content"></div>' +
5353
' </div>' +
5454
'</div>'
5555
),

0 commit comments

Comments
 (0)