fixed overflow on docs x-axis
This commit is contained in:
parent
00a512a719
commit
b4ff90a692
|
@ -20,8 +20,8 @@ If you want to add a page, rather than just edit, you'll need to make sure it ap
|
||||||
Make sure you have [Node.js](https://nodejs.org/) installed first.
|
Make sure you have [Node.js](https://nodejs.org/) installed first.
|
||||||
|
|
||||||
1. Open Terminal and navigate to the project root directory,
|
1. Open Terminal and navigate to the project root directory,
|
||||||
2. Run `yarn install`
|
3. Run `yarn build`
|
||||||
3. Run `yarn devel`
|
4. Run `yarn devel`
|
||||||
4. Open http://localhost:8000 in a browser
|
5. Open http://localhost:8000 in a browser
|
||||||
|
|
||||||
This prevents the need for any global installs, and will allow you to have live reloading for any changes you are making.
|
This prevents the need for any global installs, and will allow you to have live reloading for any changes you are making.
|
||||||
|
|
|
@ -19,6 +19,7 @@ body {
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
background-color: $colorNimbus;
|
background-color: $colorNimbus;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-wrap {
|
.home-wrap {
|
||||||
|
|
|
@ -227,10 +227,12 @@ $color-link-hover: lighten($color-link, 10%);
|
||||||
.article-content {
|
.article-content {
|
||||||
line-height: $line-height;
|
line-height: $line-height;
|
||||||
color: $color-default;
|
color: $color-default;
|
||||||
|
max-width: 90% !important;
|
||||||
@media print {
|
@media print {
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
}
|
}
|
||||||
p, ol, ul, dl, table, blockquote, iframe, .highlight {
|
p, ol, ul, dl, table, blockquote, iframe, .highlight {
|
||||||
|
max-width: 80% !important;
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
|
@ -295,7 +297,7 @@ $color-link-hover: lighten($color-link, 10%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
img, video {
|
img, video {
|
||||||
max-width: 100%;
|
max-width: 90%;
|
||||||
}
|
}
|
||||||
blockquote {
|
blockquote {
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
|
|
Loading…
Reference in New Issue