diff --git a/packages/widgets/src/bookmarks/component.tsx b/packages/widgets/src/bookmarks/component.tsx index db7eabf07..09066f90d 100644 --- a/packages/widgets/src/bookmarks/component.tsx +++ b/packages/widgets/src/bookmarks/component.tsx @@ -154,7 +154,7 @@ const GridLayout = ({ const board = useRequiredBoard(); return ( - + {data.map((app) => ( { return ( - + {!hideTitle && ( {app.name} @@ -221,10 +221,10 @@ const VerticalItem = ({ alt={app.name} className={classes.bookmarkIcon} style={{ - width: hideHostname && hideTitle ? 16 : 24, - height: hideHostname && hideTitle ? 16 : 24, + width: hideHostname && hideTitle ? "min(max(100%, 16px), 40px)" : 40, + height: hideHostname && hideTitle ? "min(max(100%, 16px), 40px)" : 40, overflow: "auto", - flex: 1, + flex: "unset", marginLeft: "auto", marginRight: "auto", }} @@ -253,7 +253,7 @@ const HorizontalItem = ({ hasIconColor: boolean; }) => { return ( - + {!hideIcon && (