0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Improved recommendation preview in dark mode

refs https://github.com/TryGhost/Product/issues/3948
This commit is contained in:
Djordje Vlaisavljevic 2023-10-12 13:41:30 +01:00
parent 45239fcc37
commit ddf8cd1fdc

View file

@ -70,7 +70,7 @@ const RecommendationDescriptionForm: React.FC<Props<EditOrAddRecommendation | Re
>
<div>
<Heading className='mb-2 block text-2xs font-semibold uppercase tracking-wider' grey={true} level={6}>Preview</Heading>
<div className="-mx-8 flex items-center justify-center overflow-hidden border border-grey-100 bg-grey-50 px-7 py-4">
<div className="-mx-8 flex items-center justify-center overflow-hidden border-y border-grey-100 bg-grey-50 px-7 py-4 dark:border-grey-950 dark:bg-black">
<div className="w-full rounded bg-white py-3 shadow">
<div className="">
<a className='flex items-center justify-between bg-white px-5 py-3' href={formState.url} rel="noopener noreferrer" target="_blank">