3.5.9
Updated pet calcs to be more accurate Fixed some layout issues Updated profile popup
This commit is contained in:
@@ -269,6 +269,24 @@ export function ConfigPanel({
|
||||
>${label}</button>
|
||||
`)}
|
||||
</div>
|
||||
|
||||
<!-- Invisible, always-rendered copy of the Activities cards. It has no
|
||||
visual presence (height:0, hidden) but stays in normal flow so its
|
||||
natural width feeds the dropdown's fit-content sizing — this keeps
|
||||
the popup a constant width across all four tabs instead of
|
||||
resizing as the user switches tabs, using Activities (the widest
|
||||
tab) as that fixed reference size. -->
|
||||
<div class="profile-scroll-sizer" aria-hidden="true">
|
||||
<div class="profile-scroll">
|
||||
${activityOptions.map((opt) => html`
|
||||
<span key=${'sizer-' + opt.value} class="profile-btn" tabIndex="-1">
|
||||
<span class="profile-btn-scene"></span>
|
||||
<span class="profile-btn-label">${opt.name}</span>
|
||||
</span>
|
||||
`)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="profile-scroll-wrap" ref=${profileWrapRef}>
|
||||
<span class="profile-scroll-chevron left" aria-hidden="true">‹</span>
|
||||
<span class="profile-scroll-chevron right" aria-hidden="true">›</span>
|
||||
|
||||
Reference in New Issue
Block a user