Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

✨(frontend) align feedback buttons with rating card

lebaudantoine1a15e9f44e60
diff --git a/src/frontend/src/features/rooms/components/Rating.tsx b/src/frontend/src/features/rooms/components/Rating.tsx
index 2f22c728..69a93fcc 100644
--- a/src/frontend/src/features/rooms/components/Rating.tsx
+++ b/src/frontend/src/features/rooms/components/Rating.tsx
@@ -16,7 +16,7 @@ const Card = styled('div', {
borderRadius: '0.25rem',
boxShadow: '',
width: '100%',
- maxWidth: '380px',
+ maxWidth: '410px',
minHeight: '196px',
},
})
@@ -229,7 +229,7 @@ const ConfirmationMessage = ({ onNext }: { onNext: () => void }) => {
return (
<Card
style={{
- maxWidth: '380px',
+ maxWidth: '410px',
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
diff --git a/src/frontend/src/features/rooms/routes/Feedback.tsx b/src/frontend/src/features/rooms/routes/Feedback.tsx
index 17e169ca..7e93ed69 100644
--- a/src/frontend/src/features/rooms/routes/Feedback.tsx
+++ b/src/frontend/src/features/rooms/routes/Feedback.tsx
@@ -24,7 +24,8 @@ const Heading = styled('h1', {
})
const buttonClass = css({
- width: { base: '100%', xsm: 'auto' },
+ width: '100%',
+ flex: 1,
})
enum DisconnectReasonKey {
@@ -64,7 +65,7 @@ const FeedbackRoute = () => {
<Heading>{t(`feedback.heading.${reasonKey || 'normal'}`)}</Heading>
<Stack
direction={{ base: 'column', xsm: 'row' }}
- width={{ base: '100%', xsm: 'auto' }}
+ width="100%"
maxWidth="410px"
>
{showBackButton && (