Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: adjustments on figcaption and unordered list #183

Merged
merged 2 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions packages/ui/src/components/Organisms/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function Footer() {
<div className="flex mt-4 space-x-6 sm:justify-center sm:mt-0">
<a
href="#"
className="text-gray-400 hover:text-blue-600 dark:hover:text-white"
className="text-gray-400 hover:text-black dark:hover:text-white"
>
<svg
className="w-5 h-5"
Expand All @@ -90,7 +90,7 @@ export function Footer() {
</a>
<a
href="#"
className="text-gray-400 hover:text-blue-600 dark:hover:text-white"
className="text-gray-400 hover:text-black dark:hover:text-white"
>
<svg
className="w-5 h-5"
Expand All @@ -103,7 +103,7 @@ export function Footer() {
</a>
<a
href="#"
className="text-gray-400 hover:text-blue-600 dark:hover:text-white"
className="text-gray-400 hover:text-black dark:hover:text-white"
>
<svg
className="w-5 h-5"
Expand All @@ -118,10 +118,7 @@ export function Footer() {
/>
</svg>
</a>
<a
href="#"
className="text-gray-400 hover:text-blue-600 dark:hover:text-white"
>
<a href="#" className="text-gray-400 hover:text-black">
<svg
className="w-5 h-5"
fill="currentColor"
Expand Down Expand Up @@ -155,7 +152,7 @@ export function Footer() {
<Link
href={item.target!}
className={
'text-gray-900 block hover:text-blue-600 transition-all font-bold text-[0.875rem] leading-[1.313rem] uppercase mb-4'
'text-gray-900 block hover:underline transition-all font-bold text-[0.875rem] leading-[1.313rem] uppercase mb-4'
}
>
{item.title}
Expand All @@ -174,7 +171,7 @@ export function Footer() {
<Link
key={child.target}
href={child.target}
className="block transition-all text-base mb-4 hover:text-blue-600"
className="block transition-all text-base mb-4 hover:underline"
>
{child.title}
</Link>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function BlockMarkup(props: BlockMarkupFragment) {
className={clsx(className, { 'list-none relative': unordered })}
>
{unordered ? (
<ArrowRightCircleIcon className="w-6 h-6 absolute mt-0.5 left-[-1.5em] text-indigo-600" />
<ArrowRightCircleIcon className="not-prose w-6 h-6 absolute mt-1.5 left-[-1.5em] text-indigo-600" />
) : null}
{children}
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function BlockMedia(props: BlockMediaFragment) {
<figure className="mt-16 mx-auto max-w-3xl">
<Media {...props.media} />
{props.caption ? (
<figcaption className="mt-4 flex gap-x-2 text-sm leading-6 text-gray-500">
<figcaption className="mt-3 flex justify-center gap-x-2 text-sm leading-6 text-gray-500">
<Html markup={props.caption} />
</figcaption>
) : null}
Expand All @@ -27,7 +27,7 @@ function Media(props: Required<BlockMediaFragment>['media']) {
case 'MediaImage':
return (
<Image
className="rounded-xl max-w-full mx-auto"
className="max-w-full mx-auto"
source={props.source}
alt={props.alt}
/>
Expand Down
Loading