Skip to content

Commit 5c25e92

Browse files
authored
Fix anchor link, add some scroll margin to h4 headings (#7810)
1 parent 14caad4 commit 5c25e92

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/pages/gen1/[platform]/build-a-backend/graphqlapi/data-modeling/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ type Query {
907907

908908
The example above creates a custom query that utilizes the `@function` directive to call a Lambda function for this query.
909909

910-
For the type definitions of queries, mutations, and subscriptions, see [Type Definitions of the `@model` Directive](#type-definition-of-the-`@model`-directive).
910+
For the type definitions of queries, mutations, and subscriptions, see [Type Definitions of the `@model` Directive](#type-definition-of-the-model-directive).
911911

912912
### Customize creation and update timestamps
913913

@@ -1151,7 +1151,7 @@ The `@model` directive will generate:
11511151
- Filter input objects that allow you to filter objects in list queries and relationship fields.
11521152
- For list queries the default number of objects returned is 100. You can override this behavior by setting the limit argument.
11531153

1154-
**Type definition of the `@model` directive**
1154+
#### Type definition of the `@model` directive
11551155

11561156
```graphql
11571157
directive @model(

src/styles/base.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ kbd {
116116

117117
.main {
118118
& > h2,
119-
& > h3 {
119+
& > h3,
120+
& > h4 {
120121
scroll-margin-block: 9rem;
121122
}
122123
}

0 commit comments

Comments
 (0)