mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Fix performer disambiguation styling in select
This commit is contained in:
@@ -93,7 +93,7 @@ const _PerformerSelect: React.FC<
|
||||
thisOptionProps = {
|
||||
...optionProps,
|
||||
children: (
|
||||
<span className="react-select-image-option">
|
||||
<span className="react-select-image-option performer-select-option">
|
||||
<Link
|
||||
to={`/performers/${object.id}`}
|
||||
target="_blank"
|
||||
@@ -127,12 +127,12 @@ const _PerformerSelect: React.FC<
|
||||
thisOptionProps = {
|
||||
...optionProps,
|
||||
children: (
|
||||
<>
|
||||
<span className="performer-select-value">
|
||||
<span>{object.name}</span>
|
||||
{object.disambiguation && (
|
||||
<span className="performer-disambiguation">{` (${object.disambiguation})`}</span>
|
||||
)}
|
||||
</>
|
||||
</span>
|
||||
),
|
||||
};
|
||||
|
||||
@@ -149,12 +149,12 @@ const _PerformerSelect: React.FC<
|
||||
thisOptionProps = {
|
||||
...optionProps,
|
||||
children: (
|
||||
<>
|
||||
<span className="performer-select-value">
|
||||
{object.name}
|
||||
{object.disambiguation && (
|
||||
<span className="performer-disambiguation">{` (${object.disambiguation})`}</span>
|
||||
)}
|
||||
</>
|
||||
</span>
|
||||
),
|
||||
};
|
||||
|
||||
|
||||
@@ -221,10 +221,13 @@
|
||||
|
||||
.performer-select {
|
||||
.performer-disambiguation {
|
||||
color: initial;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
.performer-select-value .performer-disambiguation {
|
||||
color: initial;
|
||||
}
|
||||
|
||||
.alias {
|
||||
font-weight: bold;
|
||||
white-space: pre;
|
||||
|
||||
Reference in New Issue
Block a user