Skip to content

Commit 3a352f5

Browse files
committed
fixed border issue in dark theme
1 parent 7bc6189 commit 3a352f5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/components/VapiWidget.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ const VapiWidget: React.FC<VapiWidgetProps> = ({
162162
...sizeStyles[size].expanded,
163163
...radiusStyles[radius],
164164
backgroundColor: colors.baseColor,
165-
borderColor: styles.theme === 'dark' ? '#1F2937' : '#E5E7EB',
166-
border: '1px solid',
165+
border: `1px solid ${styles.theme === 'dark' ? '#1F2937' : '#E5E7EB'}`,
167166
display: 'flex',
168167
flexDirection: 'column',
169168
overflow: 'hidden',
@@ -183,8 +182,7 @@ const VapiWidget: React.FC<VapiWidgetProps> = ({
183182

184183
const controlsAreaStyle: React.CSSProperties = {
185184
padding: '1rem',
186-
borderTop: '1px solid',
187-
borderTopColor: styles.theme === 'dark' ? '#1F2937' : '#E5E7EB',
185+
borderTop: `1px solid ${styles.theme === 'dark' ? '#1F2937' : '#E5E7EB'}`,
188186
backgroundColor: colors.baseColor,
189187
...(styles.theme === 'dark'
190188
? { filter: 'brightness(1.05)' }

0 commit comments

Comments
 (0)