mirror of
https://github.com/stashapp/stash.git
synced 2025-12-15 21:03:22 +01:00
Fix select field alias odd spacing (#5218)
* Fix Tag and Alias odd spacing As Echo6ix brough up the HTML Engine doesn't generate whitespace at the beginning of a string. Modifying it to use ` ` so that the spacing will be correct. fixes https://github.com/stashapp/stash/issues/4997 * update for performerSelect and studioSelect
This commit is contained in:
parent
1dac598755
commit
15da2c1f4c
3 changed files with 5 additions and 3 deletions
|
|
@ -140,7 +140,9 @@ const _PerformerSelect: React.FC<
|
|||
<span>
|
||||
{name}
|
||||
{alias && (
|
||||
<span className="performer-select-alias">{` (${alias})`}</span>
|
||||
<span className="performer-select-alias">
|
||||
({alias})
|
||||
</span>
|
||||
)}
|
||||
</span>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ const _StudioSelect: React.FC<
|
|||
children: (
|
||||
<span className="react-select-image-option">
|
||||
<span>{name}</span>
|
||||
{alias && <span className="alias">{` (${alias})`}</span>}
|
||||
{alias && <span className="alias"> ({alias})</span>}
|
||||
</span>
|
||||
),
|
||||
};
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ const _TagSelect: React.FC<
|
|||
</a>
|
||||
</TagPopover> */}
|
||||
<span>{name}</span>
|
||||
{alias && <span className="alias">{` (${alias})`}</span>}
|
||||
{alias && <span className="alias"> ({alias})</span>}
|
||||
</span>
|
||||
</TagPopover>
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in a new issue