@adriansteffan/reactive 0.0.19 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -131,11 +131,11 @@ export default function Experiment({
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
return (
|
|
134
|
-
<div className='
|
|
134
|
+
<div className='w-full'>
|
|
135
135
|
<div
|
|
136
136
|
className={` ${
|
|
137
137
|
config.showProgressBar ? '' : 'hidden '
|
|
138
|
-
} mt-4 sm:mt-12 max-w-2xl mx-auto flex-1 h-6 bg-gray-200 rounded-full overflow-hidden`}
|
|
138
|
+
} px-4 mt-4 sm:mt-12 max-w-2xl mx-auto flex-1 h-6 bg-gray-200 rounded-full overflow-hidden`}
|
|
139
139
|
>
|
|
140
140
|
<div
|
|
141
141
|
className={`h-full bg-gray-200 rounded-full duration-300 ${
|
|
@@ -114,7 +114,7 @@ const MicrophoneCheck = ({ next }: { next: (data: object) => void }) => {
|
|
|
114
114
|
const [recordingExists, setRecordingExists] = useState(false);
|
|
115
115
|
|
|
116
116
|
return (
|
|
117
|
-
<div className={`max-w-prose mx-auto mt-20 mb-20`}>
|
|
117
|
+
<div className={`max-w-prose mx-auto mt-20 mb-20 px-4 `}>
|
|
118
118
|
<article className='prose prose-2xl prose-slate text-xl text-black leading-relaxed'>
|
|
119
119
|
<h1 className='text-3xl mb-6 font-semibold'>Let's test your microphone!</h1>
|
|
120
120
|
<p>
|
package/src/components/quest.tsx
CHANGED
|
@@ -92,7 +92,7 @@ function Quest({ next, surveyJson, customQuestions = {} }: {
|
|
|
92
92
|
survey.onComplete.add(saveResults);
|
|
93
93
|
|
|
94
94
|
return (
|
|
95
|
-
<div className="max-w-4xl mx-auto">
|
|
95
|
+
<div className="max-w-4xl mx-auto px-4">
|
|
96
96
|
<div className="absolute inset-0 -z-10 h-full w-full bg-white bg-[radial-gradient(#e5e7eb_1px,transparent_1px)] [background-size:16px_16px]" />
|
|
97
97
|
<Survey model={survey} />
|
|
98
98
|
</div>
|
package/src/components/text.tsx
CHANGED
|
@@ -17,7 +17,7 @@ function Text({
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
return (
|
|
20
|
-
<div className={`max-w-prose mx-auto ${className} mt-20 mb-20`}>
|
|
20
|
+
<div className={`max-w-prose mx-auto ${className} mt-20 mb-20 px-4 `}>
|
|
21
21
|
<article
|
|
22
22
|
className={`prose prose-2xl prose-slate text-xl prose-a:text-blue-600 prose-a:underline prose-h1:text-4xl prose-h1:mb-10 prose-h1:font-bold prose-p:mb-4 prose-strong:font-bold text-black leading-relaxed
|
|
23
23
|
${animate ? 'animate-slide-down opacity-0' : ''}`}
|
|
@@ -319,7 +319,7 @@ export default function Upload({
|
|
|
319
319
|
}, [uploadState]);
|
|
320
320
|
|
|
321
321
|
return (
|
|
322
|
-
<div className='flex flex-col items-center justify-center gap-4 p-6 text-xl mt-16'>
|
|
322
|
+
<div className='flex flex-col items-center justify-center gap-4 p-6 text-xl mt-16 px-10'>
|
|
323
323
|
{uploadState == 'initial' && !autoUpload && (
|
|
324
324
|
<>
|
|
325
325
|
<p className=''>
|
|
@@ -271,7 +271,7 @@ export const VoiceRecorder = ({
|
|
|
271
271
|
};
|
|
272
272
|
|
|
273
273
|
return (
|
|
274
|
-
<div className='flex flex-col items-center space-y-4 p-4 bg-white'>
|
|
274
|
+
<div className='flex flex-col items-center space-y-4 p-4 bg-white px-8 '>
|
|
275
275
|
{/* Recording button */}
|
|
276
276
|
{!audioUrl && (
|
|
277
277
|
<button
|