Skip to content

Commit

Permalink
fixed hide desc button open link
Browse files Browse the repository at this point in the history
  • Loading branch information
tch1001 committed Oct 8, 2022
1 parent 74116d4 commit 330b65a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/DataPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<div class="control">
<a target="_blank" :href="data_panel.link">
<button class="button is-dark info-panel-item">Open</button>
<button @click="hide_description = !hide_description"
class="button info-panel-item">{{ hide_description ? "Show" : "Hide"}} description</button>
</a>
<button @click="hide_description = !hide_description" class="button info-panel-item">{{ hide_description ? "Show"
: "Hide"}} description</button>
<text class="subtitle is-4 data-panel-item">{{ retrieval_status }}</text>
</div>
<div class="control" :style="{marginTop: '10px'}" v-if="!hide_description">
Expand All @@ -25,11 +25,11 @@
</template>

<style lang="scss" scoped>
.control{
.control {
align-items: center;
display: flex;
}
.data-panel-item {
margin-inline: 0.2rem;
color: white;
Expand Down

0 comments on commit 330b65a

Please sign in to comment.