Skip to content

Commit

Permalink
make related asset links flow as col (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
jxjj authored Aug 28, 2023
1 parent 2f9e171 commit 91c30b4
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<template>
<div class="related-asset-widget gap-2 flex flex-wrap w-full">
<div
class="related-asset-widget flex flex-wrap w-full"
:class="{
'flex-col gap-1 leading-5': widgetType === LinkedRelatedAssetWidgetItem,
'gap-2': widgetType !== LinkedRelatedAssetWidgetItem,
}"
>
<component
:is="widgetType"
v-for="relatedAsset in contentsWithAssetId"
Expand Down

0 comments on commit 91c30b4

Please sign in to comment.