Skip to content
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

Fixed issue with scrolling on ranking page on mobile #141

Merged
merged 1 commit into from
Sep 11, 2024
Merged
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
2 changes: 1 addition & 1 deletion client/src/components/judge/dnd/DragHamburger.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const DragHamburger = () => {
return (
<div className="drag-handle p-2 cursor-grab">
<div className="drag-handle p-2 cursor-grab touch-none">
<svg
width="28"
height="25"
Expand Down
1 change: 1 addition & 0 deletions client/src/components/judge/dnd/SortableItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const SortableItem = (props: SortableItemProps) => {
const style = {
transform: CSS.Transform.toString(transform),
transition,
touchAction: 'initial',
};

return (
Expand Down
3 changes: 3 additions & 0 deletions client/src/pages/judge/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ const Judge = () => {
onDragEnd={handleDragEnd}
>
<h2 className="text-primary text-xl font-bold mt-4">Ranked Projects</h2>
<p className="text-light text-sm">
Click on titles to edit scores and see details.
</p>
<div className="h-[1px] w-full bg-light my-2"></div>
<Droppable id="ranked" projects={ranked} active={activeDropzone} />

Expand Down