From c263f48b79944d84f0644d64020d411f0ff8142b Mon Sep 17 00:00:00 2001 From: Aileen Nowak Date: Wed, 3 Aug 2022 11:21:46 +0100 Subject: [PATCH] Fixed using the correct token for Explore no issue - The `adminKey.secret` property is already in the correct format of `admiKey.Id:adminKey.secret` so we were returning the id twice as query param - Minor style adjustments for Explore --- ghost/admin/app/controllers/explore.js | 2 +- ghost/admin/app/styles/layouts/explore.css | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ghost/admin/app/controllers/explore.js b/ghost/admin/app/controllers/explore.js index 9456bb65f5..b2c43dbdad 100644 --- a/ghost/admin/app/controllers/explore.js +++ b/ghost/admin/app/controllers/explore.js @@ -18,7 +18,7 @@ export default class ExploreController extends Controller { const explore = this.model.findBy('slug', 'ghost-explore'); const adminKey = explore.adminKey; - return `${adminKey.id}:${adminKey.secret}`; + return adminKey.secret; } @action diff --git a/ghost/admin/app/styles/layouts/explore.css b/ghost/admin/app/styles/layouts/explore.css index 04eeee803a..f45b1ba190 100644 --- a/ghost/admin/app/styles/layouts/explore.css +++ b/ghost/admin/app/styles/layouts/explore.css @@ -46,12 +46,12 @@ } .explore-header h1 { - margin: 2rem 0 0; - font-size: 3.7rem; + margin: 1.6rem 0 0; + font-size: 3.6rem; text-align: center; font-weight: 700; letter-spacing: -.03em; - line-height: 45px; + line-height: 40px; } .explore-api {