mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
fix(layout): tighten up various margins
This commit is contained in:
parent
10a27354bb
commit
1c1543f012
7 changed files with 16 additions and 6 deletions
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
|
||||
.featuredItems {
|
||||
height: 216px;
|
||||
height: 192px;
|
||||
|
||||
.background {
|
||||
background-repeat: repeat-x;
|
||||
|
|
|
|||
|
|
@ -134,6 +134,7 @@
|
|||
v-for="(petGroup) in petGroups"
|
||||
v-if="!anyFilterSelected || viewOptions[petGroup.key].selected"
|
||||
:key="petGroup.key"
|
||||
:class="{ hide: viewOptions[petGroup.key].animalCount === 0 }"
|
||||
>
|
||||
<!-- eslint-enable vue/no-use-v-if-with-v-for -->
|
||||
<h4 v-if="viewOptions[petGroup.key].animalCount !== 0">
|
||||
|
|
@ -311,6 +312,10 @@
|
|||
height: 130px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hide {
|
||||
height: 0px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<style lang="scss">
|
||||
|
|
|
|||
|
|
@ -90,6 +90,7 @@
|
|||
@import '~@/assets/scss/shops.scss';
|
||||
|
||||
h1 {
|
||||
line-height: 32px;
|
||||
color: $purple-200;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ export default {
|
|||
|
||||
<style lang="scss" scoped>
|
||||
.featuredItems {
|
||||
height: 216px;
|
||||
height: 192px;
|
||||
|
||||
.background {
|
||||
width: 100%;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
/>
|
||||
<h1
|
||||
v-once
|
||||
class="mb-4 page-header"
|
||||
class="page-header mt-4 mb-4"
|
||||
>
|
||||
{{ $t('market') }}
|
||||
</h1>
|
||||
|
|
|
|||
|
|
@ -202,6 +202,10 @@
|
|||
background-color: #edecee;
|
||||
display: inline-block;
|
||||
padding: 8px;
|
||||
|
||||
> div {
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.item-wrapper {
|
||||
|
|
|
|||
|
|
@ -69,15 +69,15 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex justify-content-between w-items mt-1">
|
||||
<div class="d-flex justify-content-between w-items">
|
||||
<h1
|
||||
v-once
|
||||
class="mb-4 page-header"
|
||||
class="page-header mt-4 mb-4"
|
||||
>
|
||||
{{ $t('timeTravelers') }}
|
||||
</h1>
|
||||
<div
|
||||
class="clearfix"
|
||||
class="clearfix mt-4"
|
||||
>
|
||||
<div class="float-right">
|
||||
<span class="dropdown-label">{{ $t('sortBy') }}</span>
|
||||
|
|
|
|||
Loading…
Reference in a new issue