Skip to content

Commit 5ae9e44

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
fix(ui): center wrapped resource messages
1 parent 3e829d0 commit 5ae9e44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/emcn/src/components/resource-empty-state/resource-empty-state.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface ResourceEmptyStateProps {
1313
*/
1414
export function ResourceEmptyState({ icon: Icon, title, description }: ResourceEmptyStateProps) {
1515
return (
16-
<div className='flex h-full flex-col items-center justify-center gap-3'>
16+
<div className='flex h-full flex-col items-center justify-center gap-3 text-center'>
1717
<Icon className='size-[32px] text-[var(--text-icon)]' />
1818
<div className='flex flex-col items-center gap-1'>
1919
<h2 className='text-[20px] text-[var(--text-primary)]'>{title}</h2>

0 commit comments

Comments
 (0)