mirror of
https://github.com/moghtech/komodo.git
synced 2026-10-28 08:00:37 +00:00
improve dashboard recents responsiveness
This commit is contained in:
@@ -266,7 +266,7 @@ export const WsStatusIndicator = () => {
|
||||
variant="ghost"
|
||||
onClick={onclick}
|
||||
size="icon"
|
||||
className="inline-flex"
|
||||
className="hidden sm:inline-flex"
|
||||
>
|
||||
<Circle
|
||||
className={cn(
|
||||
|
||||
@@ -84,7 +84,7 @@ const ResourceRow = ({ type }: { type: UsableResource }) => {
|
||||
<History className="w-4" />
|
||||
Recently Viewed
|
||||
</p>
|
||||
<div className="h-52 grid md:grid-cols-2 lg:grid-cols-3 gap-4">
|
||||
<div className="h-52 grid sm:grid-cols-2 md:grid-cols-1 xl:grid-cols-2 2xl:grid-cols-3 gap-4">
|
||||
{ids.map((id, i) => (
|
||||
<RecentCard
|
||||
key={type + id}
|
||||
@@ -126,7 +126,7 @@ const RecentCard = ({
|
||||
)}
|
||||
>
|
||||
<div className="flex items-center justify-between">
|
||||
<div className="flex items-center gap-2 text-sm">
|
||||
<div className="flex items-center gap-2 text-sm text-nowrap">
|
||||
<Components.Icon id={id} />
|
||||
<ResourceName type={type} id={id} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user