Skip to content

Commit 895be5b

Browse files
authored
fix
1 parent 33338bd commit 895be5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/pages/package-code/[[org]]/[packageName]/v/[version]/[...filePath].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ onPrehydrate(el => {
292292
const settingsSaved = JSON.parse(localStorage.getItem('npmx-settings') || '{}')
293293
const container = el.querySelector('#code-page-container')
294294
295-
if (settingsSaved?.codeContainerFull === true && container) {
295+
if (settingsSaved?.codeContainerFull !== false && container) {
296296
container.classList.add('container-full')
297297
}
298298
})

0 commit comments

Comments
 (0)