Skip to content

Commit

Permalink
🎨 Increase margin around link-blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 committed Apr 21, 2022
1 parent 9104c17 commit 3fe23f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/myst-to-react/links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const link: NodeRenderer<TransformedLink> = (node, children) => {
export const linkBlock: NodeRenderer<TransformedLink> = (node, children) => {
const iconClass = 'w-6 h-6 self-center transition-transform';
const containerClass =
'flex-1 p-4 block border font-normal hover:border-blue-500 dark:hover:border-blue-400 no-underline hover:text-blue-500 dark:hover:text-blue-400 text-gray-600 dark:text-gray-100 border-gray-200 dark:border-gray-500 rounded shadow-sm hover:shadow-lg dark:shadow-neutral-700';
'flex-1 p-4 my-4 block border font-normal hover:border-blue-500 dark:hover:border-blue-400 no-underline hover:text-blue-500 dark:hover:text-blue-400 text-gray-600 dark:text-gray-100 border-gray-200 dark:border-gray-500 rounded shadow-sm hover:shadow-lg dark:shadow-neutral-700';
const internal = node.internal ?? false;
const nested = (
<div className="flex align-middle h-full">
Expand Down

0 comments on commit 3fe23f7

Please sign in to comment.