Skip to content

Commit

Permalink
fix quest-tooltip padding/sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
negue committed Mar 15, 2019
1 parent c16bc0f commit d0628da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 0 additions & 5 deletions website/client/components/shops/quests/index.vue
Expand Up @@ -52,11 +52,6 @@
:popoverPosition="'top'",
@click="selectItem(item)"
)
template(slot="popoverContent", slot-scope="ctx")
div.questPopover
h4.popover-content-title {{ item.text }}
questInfo(:quest="item")

template(slot="itemBadge", slot-scope="ctx")
span.badge.badge-pill.badge-item.badge-svg(
:class="{'item-selected-badge': ctx.item.pinned, 'hide': !ctx.item.pinned}",
Expand Down
7 changes: 5 additions & 2 deletions website/client/components/shops/quests/questInfo.vue
@@ -1,6 +1,5 @@
<template lang="pug">
.row(:class="{'small-version': smallVersion}")
dl
.table-row(v-if="quest.collect")
dt {{ $t('collect') + ':' }}
dd
Expand All @@ -26,6 +25,7 @@
.row {
display: table;
color: #E1E0E3;
margin: 0;
}
.table-row {
Expand All @@ -34,12 +34,15 @@
}
dd {
height: 24px;
padding-left: 1em;
padding-bottom: 4px;
padding-top: 3px;
padding-bottom: 3px;
}
dt, dd {
display: table-cell;
vertical-align: middle;
}
dt, dd, dd > * {
Expand Down

0 comments on commit d0628da

Please sign in to comment.