fix(web/Text): p->span
This commit is contained in:
parent
57bf165ebd
commit
1928efda11
|
@ -67,6 +67,7 @@
|
||||||
@extend %navigate-section-list-text;
|
@extend %navigate-section-list-text;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
.navigate-section-list {
|
.navigate-section-list {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -14,6 +14,6 @@ export default class Text extends Component {
|
||||||
* @returns {ReactElement}
|
* @returns {ReactElement}
|
||||||
*/
|
*/
|
||||||
render() {
|
render() {
|
||||||
return React.createElement('p', this.props);
|
return React.createElement('span', this.props);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue