Skip to content

Commit

Permalink
🔧 fix: 支持移动端显示
Browse files Browse the repository at this point in the history
  • Loading branch information
B1ue1nWh1te committed Nov 6, 2024
1 parent 59da13b commit 8cd0417
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/components/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function Profile() {

return (
<Card
className="flex min-w-[460px] flex-[2] select-none items-center justify-center bg-white/60 p-6 backdrop-blur-lg transition-all duration-300 hover:shadow-lg hover:shadow-[#a78bfa]/25 hover:ring-2 hover:ring-[#a78bfa]/50"
className="flex min-w-[26rem] flex-[2] select-none items-center justify-center bg-white/60 p-6 backdrop-blur-lg transition-all duration-300 hover:shadow-lg hover:shadow-[#a78bfa]/25 hover:ring-2 hover:ring-[#a78bfa]/50"
isBlurred={true}
isPressable={true}
onPress={showConfetti}
Expand Down
2 changes: 1 addition & 1 deletion app/components/Projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Github, Globe } from "lucide-react";

export default function Projects() {
return (
<div className="flex min-w-[570px] flex-wrap items-center justify-center gap-8">
<div className="flex flex-wrap items-center justify-center gap-8">
{Object.values(projectsInfo).map((project, index) => (
<motion.div key={index} whileHover={{ scale: 1.1 }}>
<Card
Expand Down
2 changes: 1 addition & 1 deletion app/components/ProjectsBeam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function ProjectsBeam() {

return (
<Card
className="flex min-w-[460px] flex-[3] select-none items-center justify-center px-14 py-12 backdrop-blur-lg transition-all duration-300 hover:shadow-lg hover:shadow-[#4facfe]/25 hover:ring-2 hover:ring-[#4facfe]/50"
className="flex min-w-[26rem] flex-[3] select-none items-center justify-center px-14 py-12 backdrop-blur-lg transition-all duration-300 hover:shadow-lg hover:shadow-[#4facfe]/25 hover:ring-2 hover:ring-[#4facfe]/50"
ref={containerRef}
isBlurred={true}
isPressable={true}
Expand Down

0 comments on commit 8cd0417

Please sign in to comment.