fix: entry column padding top and filter unread/read in tweet view

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei
2024-07-31 21:45:41 +08:00
parent 456b6f2c0c
commit d181771a7b
2 changed files with 4 additions and 4 deletions
@@ -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>
@@ -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 ?
@@ -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={