Skip to content

Commit

Permalink
fix: feed column height
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Aug 1, 2024
1 parent f6b62c8 commit 0d4c70d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/renderer/src/modules/feed-column/corner-player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const CornerPlayer = () => {
{show && (
<m.div
key="corner-player"
className="group relative z-10 -mt-16 mb-10 w-full px-px"
className="group relative z-10 !-mt-8 !mb-0 w-full px-px"
initial={{ y: 50, opacity: 0 }}
animate={{ y: 0, opacity: 1 }}
exit={{ y: 50, opacity: 0 }}
Expand Down Expand Up @@ -105,7 +105,7 @@ const CornerPlayerImpl = () => {
return (
<>
{/* advanced controls */}
<div className="z-10 flex translate-y-10 justify-between border-t bg-theme-modal-background p-1 opacity-0 backdrop-blur transition-all duration-200 ease-in-out group-hover:translate-y-0 group-hover:opacity-100">
<div className="z-10 flex translate-y-10 justify-between border-t bg-theme-modal-background-opaque p-1 opacity-0 transition-all duration-200 ease-in-out group-hover:translate-y-0 group-hover:opacity-100">
<div className="flex items-center">
<ActionIcon
className="i-mingcute-close-fill"
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/src/modules/feed-column/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export function FeedColumn({ children }: PropsWithChildren) {

return (
<Vibrancy
className="relative flex h-full flex-col gap-3 rounded-l-[12px] pt-2.5"
className="relative flex h-full flex-col space-y-3 rounded-l-[12px] pt-2.5"
onClick={useCallback(() => navigateBackHome(), [navigateBackHome])}
>
<div
Expand Down Expand Up @@ -248,7 +248,7 @@ export function FeedColumn({ children }: PropsWithChildren) {
{views.map((item, index) => (
<section
key={item.name}
className="h-full w-[var(--fo-feed-col-w)] shrink-0 snap-center pb-8"
className="h-full w-[var(--fo-feed-col-w)] shrink-0 snap-center"
>
{active === index && (
<FeedList
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/pages/(main)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function Component() {
<CornerPlayer />

{APP_VERSION?.[0] === "0" && (
<div className="pointer-events-none absolute bottom-3 w-full text-center text-xs opacity-20">
<div className="pointer-events-none !mt-0 w-full py-3 text-center text-xs opacity-20">
Early Access
{" "}
{GIT_COMMIT_SHA ?
Expand Down

0 comments on commit 0d4c70d

Please sign in to comment.