mirror of
https://github.com/stashapp/stash.git
synced 2025-12-15 12:52:38 +01:00
Update GridCard.tsx (#1930)
This commit is contained in:
parent
5f26719d2d
commit
f4ac82f989
1 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import React from "react";
|
||||
import { Card, Form } from "react-bootstrap";
|
||||
import { Link } from "react-router-dom";
|
||||
import cx from "classnames";
|
||||
import TruncatedText from "./TruncatedText";
|
||||
|
||||
interface ICardProps {
|
||||
|
|
@ -77,7 +78,7 @@ export const GridCard: React.FC<ICardProps> = (props: ICardProps) => {
|
|||
|
||||
return (
|
||||
<Card
|
||||
className={`${props.className} grid-card`}
|
||||
className={cx(props.className, "grid-card")}
|
||||
onClick={handleImageClick}
|
||||
onDragStart={handleDrag}
|
||||
onDragOver={handleDragOver}
|
||||
|
|
@ -85,7 +86,7 @@ export const GridCard: React.FC<ICardProps> = (props: ICardProps) => {
|
|||
>
|
||||
{maybeRenderCheckbox()}
|
||||
|
||||
<div className={`${props.thumbnailSectionClassName} thumbnail-section`}>
|
||||
<div className={cx(props.thumbnailSectionClassName, "thumbnail-section")}>
|
||||
<Link
|
||||
to={props.url}
|
||||
className={props.linkClassName}
|
||||
|
|
|
|||
Loading…
Reference in a new issue