mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Correct scene card truncation
This commit is contained in:
@@ -229,7 +229,7 @@ export const SceneCard: React.FC<ISceneCardProps> = (
|
||||
</video>
|
||||
</Link>
|
||||
<div className="card-section">
|
||||
<h5 className="text-truncate">
|
||||
<h5 className="card-section-title">
|
||||
{props.scene.title
|
||||
? props.scene.title
|
||||
: TextUtils.fileNameFromPath(props.scene.path)}
|
||||
|
||||
@@ -16,6 +16,12 @@
|
||||
.card-section {
|
||||
margin-bottom: 0;
|
||||
padding: .5rem 1rem 0 1rem;
|
||||
|
||||
&-title {
|
||||
overflow: hidden;
|
||||
overflow-wrap: normal;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
|
||||
.scene-card-check {
|
||||
|
||||
Reference in New Issue
Block a user