mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +03:00
Fix performer card name truncation (#682)
This commit is contained in:
@@ -29,7 +29,7 @@ export const PerformerCard: React.FC<IPerformerCardProps> = ({
|
|||||||
<Card className="performer-card">
|
<Card className="performer-card">
|
||||||
<Link to={`/performers/${performer.id}`}>
|
<Link to={`/performers/${performer.id}`}>
|
||||||
<img
|
<img
|
||||||
className="image-thumbnail card-image"
|
className="performer-card-image"
|
||||||
alt={performer.name ?? ""}
|
alt={performer.name ?? ""}
|
||||||
src={performer.image_path ?? ""}
|
src={performer.image_path ?? ""}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -57,6 +57,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.performer-card {
|
.performer-card {
|
||||||
|
width: 20rem;
|
||||||
|
|
||||||
|
&-image {
|
||||||
|
height: 30rem;
|
||||||
|
min-width: 11.25rem;
|
||||||
|
object-fit: cover;
|
||||||
|
object-position: top;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.flag-icon {
|
.flag-icon {
|
||||||
bottom: 1rem;
|
bottom: 1rem;
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
|
|||||||
@@ -247,9 +247,14 @@ textarea.scene-description {
|
|||||||
width: 2rem;
|
width: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.scene-performers .card-image {
|
.scene-performers {
|
||||||
height: 22.5rem;
|
.performer-card {
|
||||||
width: 15rem;
|
width: 15rem;
|
||||||
|
|
||||||
|
&-image {
|
||||||
|
height: 22.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -236,12 +236,6 @@ div.dropdown-menu {
|
|||||||
object-position: top;
|
object-position: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-image {
|
|
||||||
height: 30rem;
|
|
||||||
min-width: 11.25rem;
|
|
||||||
width: 20rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.edit-button {
|
.edit-button {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user