mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Fix performer disambiguation styling in select
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user