fix: add @sinclair/typebox dep and fix delivery button text truncation (#673)
This commit is contained in:
committed by
GitHub
Unverified
parent
992eda8fe0
commit
bed62c64e8
@@ -65,6 +65,7 @@
|
|||||||
"postversion": "git push && git push --tags"
|
"postversion": "git push && git push --tags"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@sinclair/typebox": "^0.34.48",
|
||||||
"clawhub": "^0.5.0",
|
"clawhub": "^0.5.0",
|
||||||
"electron-store": "^11.0.2",
|
"electron-store": "^11.0.2",
|
||||||
"electron-updater": "^6.8.3",
|
"electron-updater": "^6.8.3",
|
||||||
|
|||||||
3
pnpm-lock.yaml
generated
3
pnpm-lock.yaml
generated
@@ -12,6 +12,9 @@ importers:
|
|||||||
|
|
||||||
.:
|
.:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
'@sinclair/typebox':
|
||||||
|
specifier: ^0.34.48
|
||||||
|
version: 0.34.48
|
||||||
clawhub:
|
clawhub:
|
||||||
specifier: ^0.5.0
|
specifier: ^0.5.0
|
||||||
version: 0.5.0
|
version: 0.5.0
|
||||||
|
|||||||
@@ -515,7 +515,7 @@ function TaskDialog({ job, configuredChannels, onClose, onSave }: TaskDialogProp
|
|||||||
size="sm"
|
size="sm"
|
||||||
onClick={() => setDeliveryMode('none')}
|
onClick={() => setDeliveryMode('none')}
|
||||||
className={cn(
|
className={cn(
|
||||||
'justify-start h-auto min-h-12 rounded-xl px-4 py-3 text-left',
|
'justify-start h-auto min-h-12 rounded-xl px-4 py-3 text-left whitespace-normal',
|
||||||
deliveryMode === 'none'
|
deliveryMode === 'none'
|
||||||
? 'bg-primary hover:bg-primary/90 text-primary-foreground border-transparent'
|
? 'bg-primary hover:bg-primary/90 text-primary-foreground border-transparent'
|
||||||
: 'bg-[#eeece3] dark:bg-muted border-black/10 dark:border-white/10 hover:bg-black/5 dark:hover:bg-white/5 text-foreground/80 hover:text-foreground',
|
: 'bg-[#eeece3] dark:bg-muted border-black/10 dark:border-white/10 hover:bg-black/5 dark:hover:bg-white/5 text-foreground/80 hover:text-foreground',
|
||||||
@@ -532,7 +532,7 @@ function TaskDialog({ job, configuredChannels, onClose, onSave }: TaskDialogProp
|
|||||||
size="sm"
|
size="sm"
|
||||||
onClick={() => setDeliveryMode('announce')}
|
onClick={() => setDeliveryMode('announce')}
|
||||||
className={cn(
|
className={cn(
|
||||||
'justify-start h-auto min-h-12 rounded-xl px-4 py-3 text-left',
|
'justify-start h-auto min-h-12 rounded-xl px-4 py-3 text-left whitespace-normal',
|
||||||
deliveryMode === 'announce'
|
deliveryMode === 'announce'
|
||||||
? 'bg-primary hover:bg-primary/90 text-primary-foreground border-transparent'
|
? 'bg-primary hover:bg-primary/90 text-primary-foreground border-transparent'
|
||||||
: 'bg-[#eeece3] dark:bg-muted border-black/10 dark:border-white/10 hover:bg-black/5 dark:hover:bg-white/5 text-foreground/80 hover:text-foreground',
|
: 'bg-[#eeece3] dark:bg-muted border-black/10 dark:border-white/10 hover:bg-black/5 dark:hover:bg-white/5 text-foreground/80 hover:text-foreground',
|
||||||
|
|||||||
Reference in New Issue
Block a user