Skip to content

Commit

Permalink
chore: improve styles
Browse files Browse the repository at this point in the history
  • Loading branch information
enjidev committed Jan 17, 2023
1 parent 3142631 commit 4d1a61a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions apps/enji.dev/src/components/mdx/TIL.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,15 @@ export function Item({ children = null }: PropsWithChildren) {
>
<div
className={clsx(
'absolute -ml-3 mt-2.5 h-4 w-4 rounded-full border-2 border-slate-700 bg-white',
'absolute -ml-0.5 mt-2.5 h-4 w-4 rounded-full border-2 border-slate-700 bg-white',
'md:-ml-3 md:mt-2 md:h-5 md:w-5',
'dark:border-slate-300 dark:bg-slate-900'
)}
/>
<div
className={clsx(
'absolute z-[-1] mt-4 -ml-4 w-8 border border-slate-700',
'md:w-10 lg:w-12',
'absolute z-[-1] mt-4 -ml-2 w-8 border border-slate-700',
'md:-ml-4 md:w-10 lg:w-12',
'dark:border-slate-300'
)}
/>
Expand All @@ -130,7 +130,7 @@ export function Items({
children = null,
}: PropsWithChildren<ItemsProps>) {
return (
<div className={clsx('flex flex-row gap-8', 'md:gap-12 lg:gap-24')}>
<div className={clsx('flex flex-row gap-6', 'md:gap-12 lg:gap-24')}>
<div className={clsx('hidden', 'md:block md:pb-24')}>
<div className={clsx('mt-4 pt-1.5 md:sticky md:top-[86px]')}>
<div
Expand Down
6 changes: 3 additions & 3 deletions apps/enji.dev/src/contents/TIL/Contents.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import TIL from '@/components/mdx/TIL';

<TIL.Item>

## Pre overflow: scroll inside flex
## pre overflow: scroll inside flex

<TIL.ItemTags>
<TIL.ItemTag>css</TIL.ItemTag>
Expand All @@ -22,7 +22,7 @@ import TIL from '@/components/mdx/TIL';

<TIL.Item>

## Import mdx file sebagai component
## import mdx file sebagai component

<TIL.ItemTags>
<TIL.ItemTag>react</TIL.ItemTag>
Expand All @@ -43,7 +43,7 @@ import TIL from '@/components/mdx/TIL';
</TIL.Item>

<TIL.Item>

## :not() pseudo-class

<TIL.ItemTags>
Expand Down
4 changes: 2 additions & 2 deletions apps/enji.dev/src/contents/blog/PostPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ function PostPreview({
key={slug}
href={`blog/${slug}`}
className={clsx(
'group block rounded-xl bg-gradient-to-t ',
'sm:p-4 md:p-6'
'group mb-6 block rounded-xl bg-gradient-to-t',
'sm:mb-0 sm:p-4 md:p-6'
)}
>
<div
Expand Down

1 comment on commit 4d1a61a

@vercel
Copy link

@vercel vercel bot commented on 4d1a61a Jan 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

enjidev – ./

enjidev-git-main-enjidev.vercel.app
enjidev.vercel.app
enji.dev
www.enji.dev
enjidev-enjidev.vercel.app

Please sign in to comment.