2
0

💄 Fix misc UI issues

Closes #430
This commit is contained in:
Baptiste Arnaud
2023-03-28 16:02:26 +02:00
parent 14d7ebd58c
commit f13d7a1a5a
4 changed files with 10 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ const nextConfig = {
],
i18n: {
defaultLocale: 'en',
locales: ['en', 'fr', 'pr'],
locales: ['en', 'fr', 'pt'],
},
experimental: {
outputFileTracingRoot: path.join(__dirname, '../../'),

View File

@@ -12,5 +12,7 @@ export const UrlNodeContent = ({ placeholder, variableId }: Props) =>
variableId ? (
<WithVariableContent variableId={variableId} />
) : (
<Text color={'gray.500'}>{placeholder}</Text>
<Text color={'gray.500'} w="90%">
{placeholder}
</Text>
)

View File

@@ -13,6 +13,7 @@ import {
Box,
Text,
Image,
useColorModeValue,
} from '@chakra-ui/react'
import { BackgroundType, ThemeTemplate } from '@typebot.io/schemas'
import { useState } from 'react'
@@ -33,6 +34,7 @@ export const ThemeTemplateCard = ({
onClick: () => void
onDeleteSuccess?: () => void
}) => {
const borderWidth = useColorModeValue(undefined, '1px')
const [isDeleting, setIsDeleting] = useState(false)
const {
@@ -62,6 +64,7 @@ export const ThemeTemplateCard = ({
return (
<Stack
borderWidth={borderWidth}
cursor="pointer"
onClick={onClick}
spacing={0}

View File

@@ -2722,8 +2722,7 @@
"operationId": "query.theme.listThemeTemplates",
"summary": "List theme templates",
"tags": [
"Workspace",
"Theme"
"Theme template"
],
"security": [
{
@@ -2952,8 +2951,7 @@
"operationId": "mutation.theme.saveThemeTemplate",
"summary": "Save theme template",
"tags": [
"Workspace",
"Theme"
"Theme template"
],
"security": [
{
@@ -3379,8 +3377,7 @@
"operationId": "mutation.theme.deleteThemeTemplate",
"summary": "Delete a theme template",
"tags": [
"Workspace",
"Theme"
"Theme template"
],
"security": [
{