fix: entry column padding top and filter unread/read in tweet view
Signed-off-by: Innei <i@innei.in>
This commit is contained in:
@@ -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={
|
||||
|
||||
Reference in New Issue
Block a user