fix(layout): tighten up various margins

This commit is contained in:
Sabe Jones 2024-06-11 12:04:21 -05:00
parent 10a27354bb
commit 1c1543f012
7 changed files with 16 additions and 6 deletions

View file

@ -42,7 +42,7 @@
}
.featuredItems {
height: 216px;
height: 192px;
.background {
background-repeat: repeat-x;

View file

@ -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">

View file

@ -90,6 +90,7 @@
@import '~@/assets/scss/shops.scss';
h1 {
line-height: 32px;
color: $purple-200;
}

View file

@ -89,7 +89,7 @@ export default {
<style lang="scss" scoped>
.featuredItems {
height: 216px;
height: 192px;
.background {
width: 100%;

View file

@ -26,7 +26,7 @@
/>
<h1
v-once
class="mb-4 page-header"
class="page-header mt-4 mb-4"
>
{{ $t('market') }}
</h1>

View file

@ -202,6 +202,10 @@
background-color: #edecee;
display: inline-block;
padding: 8px;
> div {
margin-right: auto;
}
}
.item-wrapper {

View file

@ -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>