morethan-log
morethan-log copied to clipboard
[feat]: ✨ add table style
Description
An intuitive UI was provided when the user added a table of contents:
If the viewport is less than 1,500px, it returns to its original position:
The following changes were made to add this function:
- Create a
.cssfile and add styling to the.notion-table-of-contentsclass - Import css file from
_app.tsx
I've been using this feature on my branch for about 3 months, so it would be great to apply it to that branch too! It's already being applied on my site. If you want to see it in person, it would be a good idea to access the link.
https://sion-log.vercel.app/next-14
PR Checklist
- [x] I have read the Contributing Guide
- [x] I have written documents and tests, if needed.
Someone is attempting to deploy a commit to a Personal Account owned by @morethanmin on Vercel.
@morethanmin first needs to authorize it.
오 좋네요..! 근데 다크모드일때 목차 색상이 잘안보이네요.. 혹시 @morethanmin 님께서는 이런식으로 도입해주실 생각은없으실까요?ㅠㅠ
@jungsikjeong @yoosion030 개선하면서 같이 작업해보겠습니다~!