Update raid combobox triggers
This commit is contained in:
parent
e7f6590d55
commit
f146c43348
2 changed files with 7 additions and 5 deletions
|
|
@ -121,27 +121,26 @@
|
|||
}
|
||||
}
|
||||
|
||||
.DetailsWrapper .PartyDetails.Editable .Raid.SelectTrigger,
|
||||
.EditTeam .Raid.SelectTrigger {
|
||||
.trigger {
|
||||
background: var(--input-bound-bg);
|
||||
display: flex;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 11px;
|
||||
min-height: 51px;
|
||||
|
||||
.Value {
|
||||
.value {
|
||||
display: flex;
|
||||
gap: $unit-half;
|
||||
width: 100%;
|
||||
|
||||
.Info {
|
||||
.info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: $unit-half;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.ExtraIndicator {
|
||||
.extraIndicator {
|
||||
background: var(--extra-purple-secondary);
|
||||
border-radius: $full-corner;
|
||||
color: $grey-100;
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ interface Props {
|
|||
defaultRaid?: Raid
|
||||
minimal?: boolean
|
||||
tabIndex?: number
|
||||
size?: 'small' | 'medium' | 'large'
|
||||
onChange?: (raid?: Raid) => void
|
||||
onBlur?: (event: React.ChangeEvent<HTMLSelectElement>) => void
|
||||
}
|
||||
|
|
@ -546,10 +547,12 @@ const RaidCombobox = (props: Props) => {
|
|||
props.showAllRaidsOption ? t('raids.all') : t('raids.placeholder')
|
||||
}
|
||||
trigger={{
|
||||
bound: true,
|
||||
className: classNames({
|
||||
Raid: true,
|
||||
Highlighted: props.showAllRaidsOption,
|
||||
}),
|
||||
size: props.size,
|
||||
}}
|
||||
triggerTabIndex={props.tabIndex}
|
||||
value={renderTriggerContent()}
|
||||
|
|
|
|||
Loading…
Reference in a new issue