Skip to content

Commit

Permalink
Merge pull request #208 from ddjnw1yu/remove-icon
Browse files Browse the repository at this point in the history
remove i icon and keep text only
  • Loading branch information
alan-wu authored May 17, 2024
2 parents e27fe1c + 711dc90 commit 76af6a6
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions src/components/ContentBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,6 @@
</div>
</div>
<el-row class="icon-group">
<div v-show="contextCardEntry && contextCardVisible" class="hide" @click="contextCardVisible = false">
Hide information
<el-icon><el-icon-arrow-up /></el-icon>
</div>
<div v-show="contextCardEntry && !contextCardVisible" class="hide" @click="contextCardVisible = true">
Show information
<el-icon><el-icon-arrow-down /></el-icon>
</div>

<el-popover
placement="bottom"
:teleported="false"
Expand Down Expand Up @@ -58,12 +49,16 @@
/>
</template>
<template #reference>
<el-icon
class="info-icon"
@click="contextCardVisible = !contextCardVisible"
v-show="contextCardEntry">
<el-icon-info-filled/>
</el-icon>
<div v-show="contextCardEntry">
<div v-show="contextCardVisible" class="hide" @click="contextCardVisible = false">
Hide information
<el-icon><el-icon-arrow-up /></el-icon>
</div>
<div v-show="!contextCardVisible" class="hide" @click="contextCardVisible = true">
Show information
<el-icon><el-icon-arrow-down /></el-icon>
</div>
</div>
</template>
</el-popover>
<el-popover class="tooltip" content="Close and remove" placement="bottom-end" :show-after="helpDelay"
Expand Down

0 comments on commit 76af6a6

Please sign in to comment.