File tree 4 files changed +6
-5
lines changed
4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ <h1 class="visually-hidden"><%= htmlWebpackPlugin.options.TITLE %></h1>
44
44
< button class ="theme-control " type ="button "> Change theme</ button >
45
45
46
46
< template id ="demo-tmpl ">
47
- < div class ="demo ">
47
+ < div class ="demo notranslate ">
48
48
< div class ="demo__content ">
49
49
< div class ="demo__view ">
50
50
< div class ="parent ">
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export class Group {
40
40
let className = 'group__title' ;
41
41
42
42
if ( hideTitle ) {
43
- className = 'visually-hidden' ;
43
+ className + = ' visually-hidden' ;
44
44
}
45
45
46
46
return createElement ( `<h2 class="${ className } ">
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ export class Nav {
126
126
>${ name } </a>${ itemsMarkup } </li>` ;
127
127
} ) ;
128
128
129
- return `<ul class="nav__list ${ customClass } ">${ itemsList . join ( '' ) } </ul>` ;
129
+ return `<ul class="nav__list notranslate ${ customClass } ">${ itemsList . join ( '' ) } </ul>` ;
130
130
}
131
131
132
132
_navClickHandler ( ev ) {
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export class PropSection {
54
54
}
55
55
56
56
_getTitleElement ( ) {
57
- return createElement ( `<h3 class="prop__title">
57
+ return createElement ( `<h3 class="prop__title notranslate ">
58
58
${ this . _data . name }
59
59
<a class="self-link" href="#${ this . _sectionId } "></a>
60
60
</h3>` ) ;
@@ -112,7 +112,7 @@ export class PropSection {
112
112
113
113
markup += `<dt
114
114
id="${ id } "
115
- class="prop-values__term">
115
+ class="prop-values__term notranslate ">
116
116
${ name }
117
117
<a class="self-link" href="#${ id } "></a>
118
118
</dt>
@@ -126,6 +126,7 @@ export class PropSection {
126
126
">
127
127
<h4 class="
128
128
prop-values__title
129
+ notranslate
129
130
${ isTitleHidden ? 'visually-hidden' : '' }
130
131
">${ title } </h4>
131
132
<dl class="prop-values__list">${ markup } </dl>
You can’t perform that action at this time.
0 commit comments