Skip to content

Commit

Permalink
update action in grid section
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 committed Sep 3, 2024
1 parent 933c592 commit 8a816fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export const templates = (intl, plugin) => {
await plugin.call('manager', 'activatePlugin', 'cookbookdev')
plugin.call('menuicons', 'showContent', 'cookbookdev')
},
onClickLabel: 'Open cookbook plugin',
onClickLabel: 'Explore more templates from Cookbook',
items: [
{ value: "token-sale", displayName: 'Token Sale' },
{ value: "simple-nft-sale", displayName: 'Simple Nft Sale' },
Expand Down
4 changes: 2 additions & 2 deletions libs/remix-ui/grid-view/src/lib/remix-ui-grid-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ export const RemixUIGridSection = (props: RemixUIGridSectionProps) => {
style={{ overflowX: 'auto' }}
>
<div className="w-100 remixui_grid_section">
{ props.title && <h6 className='mt-1 mb-0 align-items-left '>{ props.title }</h6> }
{ props.onClick && <span style={{ cursor: 'pointer' }} className='mt-2 btn btn-sm border align-items-left' onClick={() => props.onClick() }>{ props.onClickLabel }</span> }
{ props.title && <span className='mt-1 mb-0 h6 align-items-left'>{ props.title }</span> }
{ props.onClick && <span style={{ cursor: 'pointer' }} className='ml-2 mt-1 mb-2 btn btn-sm border align-items-left' onClick={() => props.onClick() }>{ props.onClickLabel }</span> }
<div className={(props.hScrollable) ? `d-flex flex-row pb-2 overflow-auto` : `d-flex flex-wrap`}>
{ !hasChildCell(children) && <span> No items found </span>}
{ props.children }
Expand Down

0 comments on commit 8a816fd

Please sign in to comment.