diff --git a/doc/md/crud.md b/doc/md/crud.md index 463236640..09411729c 100755 --- a/doc/md/crud.md +++ b/doc/md/crud.md @@ -231,6 +231,8 @@ err := client.User. // Override some of the fields with a custom update. Update(func(u *ent.UserUpsert) { u.SetAddress("localhost") + u.AddCount(1) + u.ClearPhone() }). Exec(ctx) ``` diff --git a/doc/website/src/css/custom.css b/doc/website/src/css/custom.css index f2124234e..c61d5f37f 100644 --- a/doc/website/src/css/custom.css +++ b/doc/website/src/css/custom.css @@ -566,7 +566,7 @@ header ul, ol { @media only screen and (min-width: 1425px) { .homeContainer { - padding: 0 19% 20px; + padding: 0 19% 50px; } .home-nav {