Skip to content

Commit

Permalink
Adding typography styles to markdown rendered content inside Proposal…
Browse files Browse the repository at this point in the history
…ReadMoreDialog
  • Loading branch information
boyankostov committed Mar 8, 2024
1 parent d4c110e commit 735ce4d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/components/vote/components/DialogHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
@click.stop
>
<div v-if="showHeader" class="flex modal-header">
<template v-if="isTabLayout">
<!-- <template v-if="isTabLayout">
<button
v-for="(tab, index) of headerList"
:key="`${tab}-${index}`"
:class="index + 1 === activeTab ? 'active' : ''"
@click="switchTab(index + 1)"
v-text="tab"
></button>
</template>
<div v-else class="navigation-header">
</template> -->
<div class="navigation-header">
<button
v-if="back"
class="align-baseline absolute left-0 top-2/4 -mt-3 px-4 md:px-10"
Expand All @@ -30,12 +30,13 @@
</div>
</div>

<template v-if="isTabLayout">
<!-- <template v-if="isTabLayout">
<template v-for="(tab, index) in headerList">
<slot v-if="index + 1 === activeTab" :key="index" :name="`tab-${index + 1}`"> </slot>
</template>
</template>
<slot v-else></slot>
<slot v-else></slot> -->
<div class="prose"><slot></slot></div>
</div>
</template>

Expand Down

0 comments on commit 735ce4d

Please sign in to comment.