Skip to content

Commit

Permalink
fix: note side width
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Jun 29, 2023
1 parent 8f62651 commit 46bb0d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/widgets/note/NoteTimeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const NoteTimeline = memo(() => {
if (!noteId) return null
return <NoteTimelineImpl />
})
NoteTimeline.displayName = 'NoteTimeline'

const animateUl: TargetAndTransition = {
transition: {
Expand Down Expand Up @@ -92,7 +93,7 @@ const NoteTimelineImpl = () => {
}

const styles = tv({
base: 'text-neutral-content min-w-0 truncate text-left opacity-50 w-[10rem] transition-all tabular-nums hover:opacity-80',
base: 'text-neutral-content min-w-0 truncate text-left opacity-50 transition-all tabular-nums hover:opacity-80',
variants: {
status: {
active: 'ml-2 opacity-100',
Expand Down Expand Up @@ -151,3 +152,5 @@ const MemoedItem = memo<{
</motion.li>
)
})

MemoedItem.displayName = 'MemoedItem'
1 change: 1 addition & 0 deletions src/constants/system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ export const REQUEST_PATHNAME = 'request_pathname'
export const REQUEST_QUERY = 'request_query'

export const REQUEST_GEO = 'request_geo'
export const REQUEST_IP = 'request_ip'

0 comments on commit 46bb0d0

Please sign in to comment.