Skip to content

Commit

Permalink
fix(misc): clean up some layout and one more link
Browse files Browse the repository at this point in the history
  • Loading branch information
SabreCat committed Jan 8, 2025
1 parent 2fd216f commit 81ebb27
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
</div>
<div slot="drawer-header">
<div class="drawer-tab-container">
<div class="clearfix">
<div class="clearfix mb-2">
<toggle-switch
class="float-right align-with-tab"
:label="$t(costumeMode ? 'useCostume' : 'autoEquipBattleGear')"
Expand Down
16 changes: 4 additions & 12 deletions website/client/src/components/shared/inventoryDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,19 @@
@changedPosition="tabSelected($event)"
>
<div slot="right-item">
<div
<a
v-once
id="petLikeToEatMarket"
class="drawer-help-text"
href="/static/faq#pet-foods"
target="_blank"
>
<span>{{ $t('petLikeToEat') + ' ' }}</span>
<span
class="svg-icon inline icon-16"
v-html="icons.information"
></span>
</div>
<b-popover
target="petLikeToEatMarket"
:placement="'top'"
>
<div
v-once
class="popover-content-text"
v-html="$t('petLikeToEatText')"
></div>
</b-popover>
</a>
</div>
</drawer-header-tabs>
</div>
Expand Down
6 changes: 6 additions & 0 deletions website/client/src/components/ui/drawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@
padding-top: 6px;
padding-left: 24px;
padding-right: 24px;
a {
line-height: 1.33;
color: $gray-500;
text-decoration: none;
}
}
.drawer-tab {
Expand Down
2 changes: 1 addition & 1 deletion website/common/locales/en/generic.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"user": "User",
"market": "Market",
"newSubscriberItem": "You have new <span class=\"notification-bold-blue\">Mystery Items</span>",
"subscriberItemText": "Each month, subscribers will receive a mystery item. It becomes available at the beginning of the month.",
"subscriberItemText": "Subscribers receive a new mystery gear set at the beginning of each month!",
"all": "All",
"none": "None",
"more": "<%= count %> more",
Expand Down

0 comments on commit 81ebb27

Please sign in to comment.