diff --git a/components/MDContent.js b/components/MDContent.js index f521ce0..a358fc4 100644 --- a/components/MDContent.js +++ b/components/MDContent.js @@ -7,27 +7,24 @@ import Link from 'next/link' function BackLinks({linkList}) { return (
- {(linkList != null && linkList.length > 0) - ? - <> -

Link to this note

- -
+ {(linkList != null && linkList.length > 0) + ? + <> +

Link to this note

+
{linkList.map(aLink => -
- - +
+ +

{aLink.title}

{aLink.shortSummary}

-
- - -
+ + +
)} -
- - - : <>} +
+ + : <>}
); } diff --git a/styles/style.css b/styles/style.css index 37222c7..d280167 100644 --- a/styles/style.css +++ b/styles/style.css @@ -43,8 +43,9 @@ a:hover { .backlink-container .backlink { /*background-color: #f8f2f2;*/ - margin: 8px; - height: 118px; + margin: 8px -8px 0px; + padding: 8px; + height: 116px; width: 318px; text-decoration: none; display: block; @@ -58,8 +59,8 @@ a:hover { } .backlink-container .backlink-title { - font-size: 12px; - line-height: 16px; + font-size: 14px; + line-height: 18px; font-weight: 600; text-decoration: none; }