Skip to content

Commit

Permalink
fix: entry column padding top and filter unread/read in tweet view
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Jul 31, 2024
1 parent 456b6f2 commit d181771
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/renderer/src/modules/entry-column/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ export function EntryColumn() {
totalCount={virtuosoOptions.totalCount}
hasUpdate={entries.hasUpdate}
/>
<AutoResizeHeight spring className="mt-3">
<AutoResizeHeight spring>
{isRefreshing && (
<div className="center h-7 gap-2 text-xs">
<div className="center box-content h-7 gap-2 py-3 text-xs">
<LoadingCircle size="small" />
Refreshing new entries...
</div>
Expand All @@ -175,7 +175,7 @@ export function EntryColumn() {
mask={false}
ref={scrollRef}
rootClassName="h-full"
viewportClassName="[&>div]:grow flex pt-3"
viewportClassName="[&>div]:grow flex"
>
{virtuosoOptions.totalCount === 0 ? (
entries.isLoading ?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const ActionBar = ({ entryId }: { entryId: string }) => {
return (
<div className="flex origin-right scale-90 items-center gap-1">
{items
.filter((item) => !item.disabled)
.filter((item) => !item.disabled && (item.key !== "read" && item.key !== "unread"))
.map((item) => (
<ActionButton
icon={
Expand Down

0 comments on commit d181771

Please sign in to comment.