Skip to content

Commit

Permalink
Fix alert overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon committed Nov 13, 2024
1 parent 09ec70f commit 70cbe70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/theme/components/Questions.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import checkIcon from '/assets/check-icon.png'
import { createMultiStyleConfigHelpers } from '@chakra-ui/react'
import { questionsAnatomy } from '@vocdoni/chakra-components'
import checkIcon from '/assets/check-icon.png'

const { defineMultiStyleConfig, definePartsStyle } = createMultiStyleConfigHelpers(questionsAnatomy)

Expand Down Expand Up @@ -32,6 +32,8 @@ const baseStyle = definePartsStyle({
alertTitle: {
fontSize: 'lg',
mb: 3,
whiteSpace: 'normal',
overflowWrap: 'break-word',
},

alertDescription: {
Expand Down

0 comments on commit 70cbe70

Please sign in to comment.