Skip to content

Commit

Permalink
fix: rendering problem in query preview sliding panel (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
lauramargar authored Nov 2, 2023
1 parent 77b6f1e commit b116aa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/pre-search/custom-query-preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</QueryPreviewButton>
</template>
<DisplayClickProvider resultFeature="brand_recommendations">
<div class="x-flex x-gap-16 x-pt-16 max-desktop:x-px-16">
<div class="x-transform-style-3d x-flex x-gap-16 x-pt-16 max-desktop:x-px-16">
<Result
v-for="result in results"
:key="result.id"
Expand Down
3 changes: 3 additions & 0 deletions src/tailwind/plugin-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ module.exports = {
paddingTop: theme('spacing.24'),
paddingBottom: theme('spacing.24')
}
},
'.transform-style-3d': {
transformStyle: 'preserve-3d'
}
})
};

0 comments on commit b116aa1

Please sign in to comment.