Skip to content

Commit

Permalink
fix: some ui improve
Browse files Browse the repository at this point in the history
  • Loading branch information
Innei committed Jul 15, 2023
1 parent 0ca38b4 commit 62d0923
Show file tree
Hide file tree
Showing 9 changed files with 497 additions and 61 deletions.
4 changes: 0 additions & 4 deletions src/components/widgets/note/NoteTimeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ const NoteTimelineImpl = () => {
},
)

if (!timelineData) {
return null
}

const initialData = note
? [
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/peek/PeekModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const PeekModal = (
const { dismissAll, dismissTop } = useModalStack()

return (
<div>
<div className="relative mx-auto mt-[10vh] max-w-full overflow-auto px-2 scrollbar-none lg:max-w-[65rem] lg:p-0">
<ImpressionView
action={TrackerAction.Impression}
trackerMessage="Peek Modal"
Expand Down
2 changes: 1 addition & 1 deletion src/providers/root/modal-stack-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const Modal: Component<{
)}
onClick={clickOutsideToDismiss ? dismiss : undefined}
>
<div className={modalClassName} onClick={stopPropagation}>
<div className="contents" onClick={stopPropagation}>
<CustomModalComponent>
{createElement(content, ModalProps)}
</CustomModalComponent>
Expand Down
1 change: 1 addition & 0 deletions storybook/config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const GLOB_PATH = '../../src/components/ui/*/index.demo.(tsx|mdx)'
1 change: 1 addition & 0 deletions storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@vitejs/plugin-react": "^4.0.3",
"buffer": "6.0.3",
"concurrently": "^8.2.0",
"unplugin-macros": "0.5.0",
"vite-tsconfig-paths": "^4.2.0"
}
}
Loading

1 comment on commit 62d0923

@vercel
Copy link

@vercel vercel bot commented on 62d0923 Jul 15, 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:

shiro – ./

innei.in
shiro-innei.vercel.app
shiro-git-main-innei.vercel.app
springtide.vercel.app

Please sign in to comment.