fix(ui) uxt fixes

This commit is contained in:
nick-delirium 2023-12-07 15:47:18 +01:00
parent 1377025ec7
commit d50dfa1def
2 changed files with 12 additions and 4 deletions

View file

@ -13,7 +13,7 @@ function UtxEvent({ event }: any) {
</Tooltip>
<div className={'color-gray-medium ml-auto'}>{durationFromMsFormatted(event.duration)}</div>
</div>
<div className="font-semibold">{event.title}</div>
<div className="font-semibold pt-1">{event.title}</div>
</div>
{event.comment ? (
<div className={'border border-gray-light rounded bg-cyan py-2 px-4 mx-4 mb-4 shadow'}>

View file

@ -129,6 +129,7 @@ function TestOverview() {
<Button
type={'primary'}
ghost
disabled={uxtestingStore.instance.responsesCount === 0}
onClick={() => showModal(<ResponsesOverview />, { right: true, width: 900 })}
>
<Space align={'center'}>
@ -402,7 +403,12 @@ const Title = observer(({ testId, siteId }: any) => {
optionRender={(item) => (
<Space align={'center'}>
<div
style={{ background: getColor(item.value), width: 12, height: 12, borderRadius: 32 }}
style={{
background: getColor(item.value),
width: 12,
height: 12,
borderRadius: 32,
}}
/>
{item.data.icon} {item.label}
</Space>
@ -422,8 +428,10 @@ const Title = observer(({ testId, siteId }: any) => {
title={'Participants Link'}
content={
<div style={{ width: '220px' }}>
Distribute following link via email or other methods to share the survey with test
participants.
<div className={'text-disabled-text text-sm'}>
Distribute following link via email or other methods to share the survey with test
participants.
</div>
<div
style={{ background: '#E4F6F6' }}
className={'p-2 rounded border shadow break-all my-2'}