fix: cannot hover over project card tooltip items (#6071)
fix: cannot hover over project cards
This commit is contained in:
@@ -126,6 +126,31 @@ export const WithStatus: Story = {
|
||||
}),
|
||||
}
|
||||
|
||||
export const ServerProject: Story = {
|
||||
args: {
|
||||
link: '/server/example-server',
|
||||
layout: 'grid',
|
||||
title: 'Example Server',
|
||||
author: { name: 'ServerAdmin', link: '/user/ServerAdmin' },
|
||||
summary: 'A live multiplayer server with required content and regional metadata.',
|
||||
iconUrl: 'https://cdn.modrinth.com/data/AANobbMI/icon.png',
|
||||
isServerProject: true,
|
||||
serverOnlinePlayers: 128,
|
||||
serverStatusOnline: true,
|
||||
serverRecentPlays: 8420,
|
||||
serverPing: 42,
|
||||
serverRegion: 'us',
|
||||
serverModpackContent: {
|
||||
name: 'Example Modpack',
|
||||
icon: 'https://cdn.modrinth.com/data/AANobbMI/icon.png',
|
||||
showCustomModpackTooltip: true,
|
||||
},
|
||||
tags: ['adventure', 'multiplayer', 'quests'],
|
||||
allTags: ['adventure', 'multiplayer', 'quests', 'economy', 'roleplay', 'survival'],
|
||||
dateUpdated: '2024-01-15T00:00:00Z',
|
||||
},
|
||||
}
|
||||
|
||||
export const DisplayModes: StoryObj = {
|
||||
decorators: [], // Remove default decorator for this story
|
||||
render: () => ({
|
||||
|
||||
Reference in New Issue
Block a user