Skip to content

Commit 71e36ef

Browse files
author
Lanny McNie
committed
Merge pull request #743 from MannyC/yui-wide-source
Change the YUI docs so that when they're displaying source files they can use the whole width of the document.
2 parents 986c291 + cfd4b1f commit 71e36ef

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

build/createjsTheme/assets/scss/main.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ th {
226226
padding: 0 20px 0 25px;
227227
max-width: 104rem;
228228
}
229+
.content.source-content{
230+
max-width: none;
231+
}
229232
.sidebar {
230233
padding: 0 2em;
231234
}

build/createjsTheme/layouts/main.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
{{>options}}
3636
<div class="apidocs">
3737
<div id="docs-main">
38-
<div class="content">
38+
<div class="content{{#if fileName}} source-content{{/if}}">
3939
{{>layout_content}}
4040
</div>
4141
</div>

0 commit comments

Comments
 (0)