Skip to content

fix: align sidebar toggle bottom border with navbar (#1864) #1866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added dump.rdb
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/Appbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const Appbar = () => {
className="fixed left-0 top-0 z-[999] hidden h-full flex-col border-r border-primary/10 bg-background dark:bg-background lg:flex min-w-16"
>
<div className="flex h-full flex-col gap-4">
<div className="flex w-full items-center border-b border-primary/10 px-2 py-4">
<div className="flex w-full items-center border-b border-primary/10 px-2 py-3">
<div>
<motion.button
onClick={toggleCollapse}
Expand Down
4 changes: 2 additions & 2 deletions src/components/VideoPlayer2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ export const VideoPlayer: FunctionComponent<VideoPlayerProps> = ({
};

const setupZoomFeatures = (player: any) => {

if (typeof window === 'undefined' || typeof document === 'undefined') return;

const videoEl = player.el().querySelector('video');
Expand Down Expand Up @@ -166,7 +165,8 @@ export const VideoPlayer: FunctionComponent<VideoPlayerProps> = ({
})();

// Unified gesture handler
const handleGestureControl = (e: HammerInput) => {
// @ts-expect-error: HammerInput type not exported in hammerjs; fallback to any for now
const handleGestureControl = (e: any) => {
const target = e.srcEvent.target as HTMLElement;
const isControlBar = target.closest('.vjs-control-bar');

Expand Down
1 change: 0 additions & 1 deletion src/components/posts/form/form-vote.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ const VoteForm: React.FC<IVoteFormProps> = ({
);
};


const userVoted = Boolean(votesArr.length);
const userVoteVal = votesArr[0];

Expand Down
Loading