Add Credits button to tab switcher when review exists
This commit is contained in:
1 parent
25a49a1d68
commit
641ac30078
1 file changed
+9
@@ -144,6 +144,13 @@
|
||||
<!-- Tab switcher (only shown if review exists) -->
|
||||
{#if hasReview}
|
||||
<div class="tab-switcher">
|
||||
<button
|
||||
class="tab-btn"
|
||||
class:active={activeTab === 'credits'}
|
||||
onclick={() => activeTab = 'credits'}
|
||||
>
|
||||
Credits
|
||||
</button>
|
||||
<button
|
||||
class="tab-btn"
|
||||
class:active={activeTab === 'review'}
|
||||
@@ -454,6 +461,8 @@
|
||||
flex-shrink: 0;
|
||||
padding-top: 16px;
|
||||
margin-top: auto;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.tab-btn {
|
||||
|
||||
Reference in new issue
Block a user