Skip to content

Commit 14cb1b8

Browse files
committed
feat: Record page bits
1 parent 268e19b commit 14cb1b8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

apps/web/app/(org)/dashboard/caps/record/RecordVideoPage.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ export const RecordVideoPage = () => {
4242
className="flex flex-col flex-1 justify-center items-center w-full h-full"
4343
style={{ scrollbarGutter: "stable" }}
4444
>
45-
<div className="flex flex-col gap-3 justify-center items-center h-full text-center">
45+
<div className="w-full flex flex-col gap-3 justify-center items-center h-full text-center">
4646
<div className="w-full px-5">
47-
<div className="mx-auto w-full max-w-[560px]">
47+
<div className="mx-auto w-full max-w-[560px] min-w-0">
4848
<div className="flex flex-col items-center">
4949
<p className="max-w-md text-gray-10 text-md">
5050
Choose how you'd like to record your Cap
@@ -101,7 +101,7 @@ const FaqAccordion = () => {
101101
{
102102
id: "system-audio",
103103
q: "Can I record system audio?",
104-
a: "Browsers limit system‑wide audio capture. Chrome can capture tab audio, but full system audio is best with Cap Desktop.",
104+
a: "Browsers limit system‑wide audio capture. We recommend using Cap Desktop for best results.",
105105
},
106106
{
107107
id: "install",
@@ -111,8 +111,8 @@ const FaqAccordion = () => {
111111
];
112112

113113
return (
114-
<div className="mt-8 w-full max-w-[560px] px-5 text-left">
115-
<div className="divide-y divide-gray-4 rounded-lg border border-gray-4 bg-gray-2 w-full">
114+
<div className="mt-8 text-left">
115+
<div className="w-full min-w-0 divide-y divide-gray-4 rounded-lg border border-gray-4 bg-gray-2">
116116
{items.map((it) => (
117117
<AccordionItem key={it.id} title={it.q} content={it.a} />
118118
))}
@@ -133,7 +133,7 @@ const AccordionItem = ({
133133
const headerId = useId();
134134

135135
return (
136-
<div className="p-3">
136+
<div className="p-3 w-full">
137137
<button
138138
id={headerId}
139139
aria-controls={contentId}
@@ -157,7 +157,7 @@ const AccordionItem = ({
157157
animate={{ opacity: 1, height: "auto" }}
158158
exit={{ opacity: 0, height: 0 }}
159159
transition={{ duration: 0.18 }}
160-
className="overflow-hidden"
160+
className="overflow-hidden w-full"
161161
>
162162
<div className="pt-2 text-sm text-gray-10">{content}</div>
163163
</motion.section>

0 commit comments

Comments
 (0)