mirror of
https://github.com/stashapp/stash.git
synced 2025-12-07 17:02:38 +01:00
Fix performer disambiguation styling in select
This commit is contained in:
parent
2bdf0d9e62
commit
4999e85fae
2 changed files with 9 additions and 6 deletions
|
|
@ -93,7 +93,7 @@ const _PerformerSelect: React.FC<
|
||||||
thisOptionProps = {
|
thisOptionProps = {
|
||||||
...optionProps,
|
...optionProps,
|
||||||
children: (
|
children: (
|
||||||
<span className="react-select-image-option">
|
<span className="react-select-image-option performer-select-option">
|
||||||
<Link
|
<Link
|
||||||
to={`/performers/${object.id}`}
|
to={`/performers/${object.id}`}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|
@ -127,12 +127,12 @@ const _PerformerSelect: React.FC<
|
||||||
thisOptionProps = {
|
thisOptionProps = {
|
||||||
...optionProps,
|
...optionProps,
|
||||||
children: (
|
children: (
|
||||||
<>
|
<span className="performer-select-value">
|
||||||
<span>{object.name}</span>
|
<span>{object.name}</span>
|
||||||
{object.disambiguation && (
|
{object.disambiguation && (
|
||||||
<span className="performer-disambiguation">{` (${object.disambiguation})`}</span>
|
<span className="performer-disambiguation">{` (${object.disambiguation})`}</span>
|
||||||
)}
|
)}
|
||||||
</>
|
</span>
|
||||||
),
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -149,12 +149,12 @@ const _PerformerSelect: React.FC<
|
||||||
thisOptionProps = {
|
thisOptionProps = {
|
||||||
...optionProps,
|
...optionProps,
|
||||||
children: (
|
children: (
|
||||||
<>
|
<span className="performer-select-value">
|
||||||
{object.name}
|
{object.name}
|
||||||
{object.disambiguation && (
|
{object.disambiguation && (
|
||||||
<span className="performer-disambiguation">{` (${object.disambiguation})`}</span>
|
<span className="performer-disambiguation">{` (${object.disambiguation})`}</span>
|
||||||
)}
|
)}
|
||||||
</>
|
</span>
|
||||||
),
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -221,10 +221,13 @@
|
||||||
|
|
||||||
.performer-select {
|
.performer-select {
|
||||||
.performer-disambiguation {
|
.performer-disambiguation {
|
||||||
color: initial;
|
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.performer-select-value .performer-disambiguation {
|
||||||
|
color: initial;
|
||||||
|
}
|
||||||
|
|
||||||
.alias {
|
.alias {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue