Skip to content

Fix: anchor link on data-modeling, add some scroll margin to h4 headings #7810

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ type Query {

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

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

### Customize creation and update timestamps

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

**Type definition of the `@model` directive**
#### Type definition of the `@model` directive

```graphql
directive @model(
Expand Down
3 changes: 2 additions & 1 deletion src/styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ kbd {

.main {
& > h2,
& > h3 {
& > h3,
& > h4 {
scroll-margin-block: 9rem;
}
}
Expand Down