diff --git a/apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.css b/apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.css index f6e9f504f1c..c01c4027fd9 100644 --- a/apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.css +++ b/apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.css @@ -1,5 +1,12 @@ .TSCellStyle { - min-height: 8.5rem; + min-height: 9rem; + max-width: 13rem; + min-width: 13rem; + max-height: 8.5rem; +} + +.TSCellStyleShort { + min-height: 5rem; max-width: 13rem; min-width: 13rem; max-height: 8.5rem; diff --git a/apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx b/apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx index b2f5c593c28..6b9e0e96825 100644 --- a/apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx +++ b/apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx @@ -169,14 +169,14 @@ export class TemplatesSelectionPlugin extends ViewPlugin { id={item.name} searchKeywords={[item.displayName, item.description, template.name]} tagList={item.tagList} - classList='TSCellStyle' + classList={'TSCellStyle' + (!item.description ? 'Short' : '')} >
{item.description && {item.description}}
-
+
{(item.opts && item.opts.upgradeable && item.opts.upgradeable === 'uupds') && Upgradeable-UUPS} {(item.opts && item.opts.mintable) && mintable} {(item.opts && item.opts.burnable) && burnable}