diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-06 19:27:45 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-06 19:30:06 +0100 |
| commit | 722ec20bad64d8c69b173c163011d37ad0b55591 (patch) | |
| tree | 0470e54f758d9383fff3fdb4c9b685faa3bde6ae /src/components/Sharing/Sharing.tsx | |
| parent | 1494985a636fe22417615648062f17bc82c35655 (diff) | |
chore: move Main grid to its children
This way I can use full width background for some blocks.
Diffstat (limited to 'src/components/Sharing/Sharing.tsx')
| -rw-r--r-- | src/components/Sharing/Sharing.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/Sharing/Sharing.tsx b/src/components/Sharing/Sharing.tsx index 4bcad5d..4df8e0d 100644 --- a/src/components/Sharing/Sharing.tsx +++ b/src/components/Sharing/Sharing.tsx @@ -90,9 +90,10 @@ const Sharing = ({ excerpt, title }: { excerpt: string; title: string }) => { <li key={id}> <a href={sharingUrl} + title={name} className={`${styles.link} ${styles[linkModifier]}`} > - {name} + <span className="screen-reader-text">{name}</span> </a> </li> ); @@ -100,7 +101,7 @@ const Sharing = ({ excerpt, title }: { excerpt: string; title: string }) => { }; return ( - <div> + <div className={styles.wrapper}> <h2>{t`Share`}</h2> <ul className={styles.list}>{getItems()}</ul> </div> |
