Skip to content

Commit cd983ef

Browse files
committed
Fixed active support for ios
1 parent 5811f40 commit cd983ef

6 files changed

Lines changed: 13 additions & 21 deletions

File tree

.idea/workspace.xml

Lines changed: 5 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

postcss.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
const config = {
33
plugins: {
44
'@tailwindcss/postcss': {},
5+
tailwindcss: {},
56
autoprefixer: {},
67
},
78
};

src/components/elements/CalendarButton.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { LuCalendarPlus } from 'react-icons/lu';
66
const CalendarButton = ({ onClick }) => (
77
<button
88
onClick={onClick}
9-
className="absolute top-4 right-4 p-2 text-gray-500 hover:text-blue-800 hover:bg-blue-100 rounded-lg transition-colors duration-200 z-10 cursor-pointer"
9+
className="absolute top-4 right-4 p-2 text-gray-500 hover:text-blue-800 active:text-blue-800 hover:bg-blue-100 active:bg-blue-100 rounded-lg transition-colors duration-200 z-10 cursor-pointer"
1010
aria-label="Add to calendar"
1111
title="Add to calendar"
1212
>

src/components/elements/QuickTips.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ const QuickTips = ({ tips }) => {
88
if (!tips || tips.length === 0) return null;
99

1010
return (
11-
<div
12-
className="bg-white rounded-2xl p-6 lg:p-8 lg:sticky lg:top-8 overflow-hidden shadow-md ring-2
13-
ring-gray-300"
14-
>
11+
<div className="bg-white rounded-2xl p-6 lg:p-8 lg:sticky lg:top-8 overflow-hidden shadow-md ring-2 ring-gray-300">
1512
<h2 className="text-xl font-bold text-gray-900 mb-1">{tips.title}</h2>
1613
<p className="text-sm text-gray-600 mb-6">{tips.subtitle}</p>
1714

@@ -23,9 +20,9 @@ const QuickTips = ({ tips }) => {
2320
return (
2421
<div
2522
key={index}
26-
className={`flex items-start gap-3 rounded-xl px-4 py-3 group transition-all duration-300 ease-in-out ${colors.bg} ${colors.text} ${rotation} hover:rotate-0 hover:scale-[1.02] hover:shadow-lg`}
23+
className={`flex items-start gap-3 rounded-xl px-4 py-3 group transition-all duration-300 ease-in-out ${colors.bg} ${colors.text} ${rotation} hover:rotate-0 active:scale-[1.02] hover:scale-[1.02] hover:shadow-lg active:shadow-lg`}
2724
>
28-
<div className="mt-0.5 flex-shrink-0 group-hover:rotate-6 transition-all duration-300">
25+
<div className="mt-0.5 flex-shrink-0 group-hover:rotate-6 group-active:rotate-6 transition-all duration-300">
2926
{IconComponent && <IconComponent size={21} />}
3027
</div>
3128
<span className="text-sm font-medium leading-relaxed flex-1">

src/components/elements/ScheduleSpeakerInfo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ const ScheduleSpeakerInfo = ({ speaker, locale = 'en' }) => {
1515
title={`${name} - ${title}`}
1616
>
1717
<Image
18-
className="h-11 w-11 rounded shadow object-cover group-hover/a:shadow-md group-hover/a:scale-[105%] transition-all duration-200 ease-in"
18+
className="h-11 w-11 rounded shadow object-cover group-hover/a:shadow-md group-active/a:shadow-md group-hover/a:scale-[105%] group-active/a:scale-[105%] transition-all duration-200 ease-in"
1919
src={image}
2020
alt={name}
2121
width={44}
2222
height={44}
2323
/>
2424
<div>
25-
<p className="text-base font-semibold tracking-normal text-gray-800 group-hover/a:text-blue-800 transition-colors duration-200">
25+
<p className="text-base font-semibold tracking-normal text-gray-800 group-hover/a:text-blue-800 group-active/a:text-blue-800 transition-colors duration-200">
2626
{name}
2727
</p>
2828
<p className="text-xs text-gray-500">{title}</p>

src/components/elements/SpecialEventCard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const SpecialEventCard = ({
1616
const IconComponent = icon ? getIcon(icon) : null;
1717

1818
return (
19-
<div className="bg-white rounded-2xl shadow hover:shadow-xl transition-all duration-200 ease-in hover:-translate-y-1.5 p-4 ring-2 ring-gray-300 sm:p-6 relative overflow-hidden group">
19+
<div className="bg-white rounded-2xl shadow hover:shadow-xl active:shadow-xl transition-all duration-200 ease-in active:-translate-y-1.5 hover:-translate-y-1.5 p-4 ring-2 ring-gray-300 sm:p-6 relative overflow-hidden group">
2020
<div className="pr-12">
2121
<h3 className="text-xl font-bold text-gray-700">{title}</h3>
2222
{description && (

0 commit comments

Comments
 (0)