diff --git a/apps/client/src/stylesheets/theme-dark.css b/apps/client/src/stylesheets/theme-dark.css index 2d08163d6..3b434d529 100644 --- a/apps/client/src/stylesheets/theme-dark.css +++ b/apps/client/src/stylesheets/theme-dark.css @@ -86,7 +86,7 @@ body ::-webkit-calendar-picker-indicator { --custom-color: var(--dark-theme-custom-color); } -.reference-link, +:root .reference-link, .ck-content a.reference-link > span { color: var(--dark-theme-custom-color, inherit); } diff --git a/apps/client/src/stylesheets/theme-light.css b/apps/client/src/stylesheets/theme-light.css index 3bf49341c..2bdb06a1c 100644 --- a/apps/client/src/stylesheets/theme-light.css +++ b/apps/client/src/stylesheets/theme-light.css @@ -86,7 +86,7 @@ html { --custom-color: var(--light-theme-custom-color); } -.reference-link, +:root .reference-link, .ck-content a.reference-link > span { color: var(--light-theme-custom-color, inherit); } \ No newline at end of file diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.css index ca0d818e6..ca2e2091e 100644 --- a/apps/client/src/stylesheets/theme-next-dark.css +++ b/apps/client/src/stylesheets/theme-next-dark.css @@ -277,7 +277,7 @@ --custom-bg-color: hsl(var(--custom-color-hue), 20%, 33%, 0.4); } -.reference-link, +:root .reference-link, .ck-content a.reference-link > span { color: var(--dark-theme-custom-color, inherit); } diff --git a/apps/server/src/services/scheduler.ts b/apps/server/src/services/scheduler.ts index e58ef07b4..f44e3aa43 100644 --- a/apps/server/src/services/scheduler.ts +++ b/apps/server/src/services/scheduler.ts @@ -66,7 +66,7 @@ sqlInit.dbReady.then(() => { ); } - setInterval(() => checkProtectedSessionExpiration(), 1); + setInterval(() => checkProtectedSessionExpiration(), 30000); }); function checkProtectedSessionExpiration() {