Переглянути джерело

fix(web/Text): p->span

j8
hristoterezov 7 роки тому
джерело
коміт
1928efda11

+ 1
- 0
css/_navigate_section_list.scss Переглянути файл

@@ -67,6 +67,7 @@
67 67
     @extend %navigate-section-list-text;
68 68
     font-weight: bold;
69 69
     margin-bottom: 16px;
70
+    display: block;
70 71
 }
71 72
 .navigate-section-list {
72 73
     position: relative;

+ 1
- 1
react/features/base/react/components/web/Text.js Переглянути файл

@@ -14,6 +14,6 @@ export default class Text extends Component {
14 14
      * @returns {ReactElement}
15 15
      */
16 16
     render() {
17
-        return React.createElement('p', this.props);
17
+        return React.createElement('span', this.props);
18 18
     }
19 19
 }

Завантаження…
Відмінити
Зберегти