From 9121959504c76927670839bbe6371557e8f793da Mon Sep 17 00:00:00 2001 From: Paul Copplestone Date: Thu, 3 Jun 2021 20:24:19 +0800 Subject: [PATCH 1/3] docs: first attempt - trying to adjust line height --- web/src/css/custom.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/css/custom.css b/web/src/css/custom.css index 34f8509d736..105bd6e2a92 100755 --- a/web/src/css/custom.css +++ b/web/src/css/custom.css @@ -1320,18 +1320,21 @@ h4.method-list-item-label { h4.method-list-item-label .method-list-item-label-name { font-family: var(--ifm-font-family-monospace); font-size: 0.8rem; + line-height: 1.5rem; } h4.method-list-item-label .method-list-item-label-badge { font-family: var(--ifm-font-family-monospace); font-size: 0.8rem; padding: 0 5px; font-weight: 300; + line-height: 1.5rem; } h4.method-list-item-label .method-list-item-validation { font-family: var(--ifm-font-family-monospace); font-size: 0.8rem; padding: 0 5px; font-weight: 300; + line-height: 1.2rem; } .method-list-group .method-list-group { From 26ac9d46d369397c2e6921ad9058b5841a1350e4 Mon Sep 17 00:00:00 2001 From: Paul Copplestone Date: Thu, 3 Jun 2021 20:29:41 +0800 Subject: [PATCH 2/3] Second attempt - adjusts padding for all items --- web/src/css/custom.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/web/src/css/custom.css b/web/src/css/custom.css index 105bd6e2a92..a573dddf804 100755 --- a/web/src/css/custom.css +++ b/web/src/css/custom.css @@ -1320,21 +1320,23 @@ h4.method-list-item-label { h4.method-list-item-label .method-list-item-label-name { font-family: var(--ifm-font-family-monospace); font-size: 0.8rem; - line-height: 1.5rem; + padding: var(--ifm-code-padding-vertical) 0; } h4.method-list-item-label .method-list-item-label-badge { font-family: var(--ifm-font-family-monospace); font-size: 0.8rem; padding: 0 5px; font-weight: 300; - line-height: 1.5rem; + padding: var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal); } h4.method-list-item-label .method-list-item-validation { font-family: var(--ifm-font-family-monospace); font-size: 0.8rem; padding: 0 5px; font-weight: 300; - line-height: 1.2rem; + display: flex; + flex-wrap: wrap; + gap: 6px; } .method-list-group .method-list-group { From 4309451fb44955b3c86509add3261aeae6adb05b Mon Sep 17 00:00:00 2001 From: Blair Bodnar Date: Thu, 10 Jun 2021 21:17:45 -0700 Subject: [PATCH 3/3] Fixed typo --- web/docs/learn/auth-deep-dive/jwts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/docs/learn/auth-deep-dive/jwts.md b/web/docs/learn/auth-deep-dive/jwts.md index 5e0c04dcf85..640e9fc7e36 100644 --- a/web/docs/learn/auth-deep-dive/jwts.md +++ b/web/docs/learn/auth-deep-dive/jwts.md @@ -29,7 +29,7 @@ Well, the JSON object starts out looking something like this: } ``` -`sub` is the "subject", which is usually the uuid of the user. `name` is self explanatory, and `iat` is the unix timestamp at which the token was created. Many JWTs will also have an `exp` which is the data at which the token is set to expire, and can no longer be used. These are some of the standard fields you may find in a JWT, but you can pretty much store whatever you want in there, for example: +`sub` is the "subject", which is usually the uuid of the user. `name` is self explanatory, and `iat` is the unix timestamp at which the token was created. Many JWTs will also have an `exp` which is the date at which the token is set to expire, and can no longer be used. These are some of the standard fields you may find in a JWT, but you can pretty much store whatever you want in there, for example: ```js {