Skip to content

Commit ce1942a

Browse files
committed
fix: style
1 parent 18ff3fd commit ce1942a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

apps/renderer/src/modules/app-layout/entry-column/mobile.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,16 @@ export const EntryColumnMobile = () => {
1515

1616
const [scrollContainer, setScrollContainer] = useState<null | HTMLDivElement>(null)
1717
const view = useRouteParamsSelector((s) => s.view)
18+
const folderName = useRouteParamsSelector((s) => s.folderName)
19+
const listId = useRouteParamsSelector((s) => s.listId)
1820
useEffect(() => {
1921
const timer = setTimeout(() => {
2022
setScrollContainer(
2123
document.querySelector(`#${ENTRY_COLUMN_LIST_SCROLLER_ID}`) as HTMLDivElement,
2224
)
2325
}, 1000)
2426
return () => clearTimeout(timer)
25-
}, [view])
27+
}, [view, folderName, listId])
2628
usePreventOverscrollBounce()
2729

2830
return (

apps/renderer/src/modules/app-layout/feed-column/float-bar.mobile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const MobileFloatBar = ({
8181
>
8282
<m.div
8383
className={clsx(
84-
"mx-4 inline-flex h-10 min-w-0 items-center rounded-full border border-neutral-200 bg-background pl-4 pr-2 shadow-sm shadow-zinc-100 dark:border-neutral-800",
84+
"mx-auto inline-flex h-10 min-w-0 items-center rounded-full border border-neutral-200 bg-background pl-4 pr-2 shadow-sm shadow-zinc-100 dark:border-neutral-800",
8585
"[box-shadow:0px_8px_30px_rgba(122,122,122,0.2)] dark:[box-shadow:0px_8px_30px_rgba(122,122,122,0.2)]",
8686
"pointer-events-auto",
8787
)}

apps/renderer/src/modules/entry-column/Items/social-media-item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const SocialMediaItem: EntryListItemFC = ({ entryId, entryPreview, transl
6868
"relative flex px-2 py-6 lg:px-8",
6969
"group",
7070
!asRead &&
71-
"before:absolute before:-left-1 before:top-10 before:block before:size-2 before:rounded-full before:bg-accent md:before:-left-2 lg:before:left-2",
71+
"before:absolute before:left-0 before:top-10 before:block before:size-2 before:rounded-full before:bg-accent md:before:-left-2 lg:before:left-2",
7272
)}
7373
>
7474
<FeedIcon fallback feed={feed} entry={entry.entries} size={32} className="mt-1" />

0 commit comments

Comments
 (0)