mirror of
https://github.com/stashapp/stash.git
synced 2026-05-09 05:05:29 +02:00
Correct scene card truncation
This commit is contained in:
parent
8672c4437e
commit
ac4f4972b6
2 changed files with 7 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue