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">
|
||||
<Link to={`/performers/${performer.id}`}>
|
||||
<img
|
||||
className="image-thumbnail card-image"
|
||||
className="performer-card-image"
|
||||
alt={performer.name ?? ""}
|
||||
src={performer.image_path ?? ""}
|
||||
/>
|
||||
|
||||
@@ -57,6 +57,16 @@
|
||||
}
|
||||
|
||||
.performer-card {
|
||||
width: 20rem;
|
||||
|
||||
&-image {
|
||||
height: 30rem;
|
||||
min-width: 11.25rem;
|
||||
object-fit: cover;
|
||||
object-position: top;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.flag-icon {
|
||||
bottom: 1rem;
|
||||
height: 2rem;
|
||||
|
||||
@@ -247,9 +247,14 @@ textarea.scene-description {
|
||||
width: 2rem;
|
||||
}
|
||||
|
||||
.scene-performers .card-image {
|
||||
height: 22.5rem;
|
||||
width: 15rem;
|
||||
.scene-performers {
|
||||
.performer-card {
|
||||
width: 15rem;
|
||||
|
||||
&-image {
|
||||
height: 22.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -236,12 +236,6 @@ div.dropdown-menu {
|
||||
object-position: top;
|
||||
}
|
||||
|
||||
.card-image {
|
||||
height: 30rem;
|
||||
min-width: 11.25rem;
|
||||
width: 20rem;
|
||||
}
|
||||
|
||||
.edit-button {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user