不要怂,就是干,撸起袖子干!

Commit f4a680d5 by Mick Hansen

Merge pull request #3504 from sequelize/hotfix/docs-nav-nesting

Hotfix/docs nav nesting
2 parents 2606346b da924f4a
Showing with 21 additions and 1 deletions
...@@ -48,6 +48,26 @@ tr:nth-child(2n) { ...@@ -48,6 +48,26 @@ tr:nth-child(2n) {
font-family: 'Titillium Web', sans-serif; font-family: 'Titillium Web', sans-serif;
} }
a.toctree-l3 {
margin-left: 0.8em;
}
p > code {
padding: 0;
padding-top: 0.2em;
padding-bottom: 0.2em;
margin: 0;
font-size: 85%;
background-color: rgba(0,0,0,0.04);
border-radius: 3px;
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
p > code:before, p > code:after {
letter-spacing: -0.2em;
content: "\00a0";
}
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
#teaser-home { #teaser-home {
height: auto; height: auto;
......
...@@ -294,7 +294,7 @@ See [the node-validator project][4]for more details on the built in validation m ...@@ -294,7 +294,7 @@ See [the node-validator project][4]for more details on the built in validation m
**Hint: **You can also define a custom function for the logging part. Just pass a function. The first parameter will be the string that is logged. **Hint: **You can also define a custom function for the logging part. Just pass a function. The first parameter will be the string that is logged.
### Validators and`allowNull` ### Validators and `allowNull`
If a particular field of a model is set to allow null (with `allowNull: true`) and that value has been set to `null` , its validators do not run. This means you can, for instance, have a string field which validates its length to be at least 5 characters, but which also allows`null`. If a particular field of a model is set to allow null (with `allowNull: true`) and that value has been set to `null` , its validators do not run. This means you can, for instance, have a string field which validates its length to be at least 5 characters, but which also allows`null`.
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!