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

Commit

Permalink
fix(subheader): transform span to div to allow custom styling.
Browse files Browse the repository at this point in the history
* Currently `span` was used as a parent of the transcluded content, which limits content to only texgt.

Fixes #8063. Closes #8069
  • Loading branch information
devversion authored and ThomasBurleson committed Apr 15, 2016
1 parent 61b742e commit 01952ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/subheader/subheader.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function MdSubheaderDirective($mdSticky, $compile, $mdTheming, $mdUtil) {
template: (
'<div class="md-subheader _md">' +
' <div class="_md-subheader-inner">' +
' <span class="_md-subheader-content"></span>' +
' <div class="_md-subheader-content"></div>' +
' </div>' +
'</div>'
),
Expand Down

0 comments on commit 01952ec

Please sign in to comment.