Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gear picker note #4221

Merged
merged 2 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions ui/core/components/gear_picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,19 @@ export class SelectorModal extends BaseModal {
this.contentElem = this.rootElem.querySelector('.selector-modal-tab-content') as HTMLElement;

this.setData();

this.body.appendChild(
<div className="d-flex align-items-center form-text mt-3">
<i className="fas fa-circle-exclamation fa-xl me-2"></i>
<span>
If gear is missing, check the selected phase and your gear filters.
<br />
If the problem persists, save any un-saved data, click the
<i className="fas fa-cog mx-1"></i>
to open your sim options, then click the "Restore Defaults".
</span>
</div>
)
}

// Could be 'Items' 'Enchants' or 'Gem1'-'Gem3'
Expand Down
1 change: 1 addition & 0 deletions ui/scss/core/components/_gear_picker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@
overflow-y: auto;
overflow-x: hidden;
padding: 0;
margin-bottom: 0;

&.hide-ep {
.selector-modal-list-item-ep {
Expand Down
Loading