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

Small tweak to remaining points #4220

Merged
merged 3 commits into from
Feb 18, 2024
Merged
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
6 changes: 4 additions & 2 deletions ui/core/talents/talents_picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,16 @@ export class TalentsPicker<TalentsProto> extends Input<Player<Spec>, string> {

const actionsContainerRef = ref<HTMLDivElement>();
this.rootElem.appendChild(
<>
<div id="talents-carousel" className="carousel slide">
<div className="talents-picker-header">
<div>
<label>Points Remaining:</label>
{PointsRemainingElem()}
</div>
<div className="talents-picker-actions" ref={actionsContainerRef}></div>
</div>
<div className="carousel-inner">
</div>
<div id="talents-carousel" className="carousel slide">
<div className="carousel-inner">
</div>
Expand All @@ -76,7 +78,7 @@ export class TalentsPicker<TalentsProto> extends Input<Player<Spec>, string> {
<span className="visually-hidden">Next</span>
</button>
</div>
</>
</div>
);

new CopyButton(actionsContainerRef.value!, {
Expand Down
Loading