Skip to content

Commit 3fc814c

Browse files
committed
Docs: Clean up.
1 parent feecd52 commit 3fc814c

File tree

3 files changed

+24
-21
lines changed

3 files changed

+24
-21
lines changed

docs/index.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ <h1><a href="http://threejs.org">three.js</a></h1>
122122

123123

124124
// Functionality for search/filter input field
125-
filterInput.onfocus = function ( event ) {
125+
filterInput.onfocus = function ( event ) {
126126

127127
panel.classList.add('searchFocused');
128128

@@ -175,9 +175,12 @@ <h1><a href="http://threejs.org">three.js</a></h1>
175175
panel.classList.remove( 'open' );
176176

177177

178-
content.querySelectorAll('a').forEach((item) => {
179-
item.classList.remove('selected');
180-
});
178+
content.querySelectorAll( 'a' ).forEach( function ( item ) {
179+
180+
item.classList.remove( 'selected' );
181+
182+
} );
183+
181184
link.classList.add('selected');
182185

183186
} );

docs/page.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ br {
112112
}
113113

114114
table {
115-
border-spacing: 24px 4px;
115+
border-spacing: 24px 4px;
116116
}
117117
table,
118118
table tr,

files/main.css

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ h1 a {
6363

6464
#header {
6565
display: flex;
66-
height: 48px;
67-
border-bottom: var(--border-style);
68-
align-items: center;
66+
height: 48px;
67+
border-bottom: var(--border-style);
68+
align-items: center;
6969
}
7070
#header h1 {
7171
margin-left: 15px;
@@ -165,20 +165,20 @@ h1 a {
165165
}
166166

167167
#panel #language {
168-
font-family: 'Roboto Mono', monospace;
168+
font-family: 'Roboto Mono', monospace;
169169
position: absolute;
170-
top: 9px;
171-
right: 8px;
172-
border: 0px;
173-
font-size: 14px;
170+
top: 9px;
171+
right: 8px;
172+
border: 0px;
173+
font-size: 14px;
174174
font-weight: 500;
175-
background: url(ic_arrow_drop_down_black_24dp.svg) no-repeat;
176-
background-position: right center;
177-
background-color: white;
178-
padding: 4px 24px 4px 8px;
179-
-webkit-appearance: none;
180-
-moz-appearance: none;
181-
appearance: none;
175+
background: url(ic_arrow_drop_down_black_24dp.svg) no-repeat;
176+
background-position: right center;
177+
background-color: white;
178+
padding: 4px 24px 4px 8px;
179+
-webkit-appearance: none;
180+
-moz-appearance: none;
181+
appearance: none;
182182
}
183183

184184
#panel #language:focus {
@@ -187,7 +187,7 @@ h1 a {
187187

188188
#contentWrapper {
189189
flex: 1;
190-
overflow: hidden;
190+
overflow: hidden;
191191
display: flex;
192192
flex-direction: column;
193193
transform: translate3d(0,0,0);

0 commit comments

Comments
 (0)