Commit 0f9036b7 authored by gj4210's avatar gj4210 👁
Browse files

FIX: Collapse icons rotate again

parent 01295faa
Pipeline #106642 passed with stages
in 10 minutes and 49 seconds
......@@ -39,7 +39,7 @@
</b-row>
</template>
<b-button block squared variant="outline-secondary" v-b-toggle="bcd.name + '-collapse'">
<font-awesome-icon class="collapse-icon" :icon="['fas','chevron-up']"/>
<font-awesome-icon class="collapse-icon" :icon="['fas','chevron-down']"/>
</b-button>
<b-collapse :id="bcd.name + '-collapse'">
<b-table :items="clients_by_bcd[bcd.name]"
......@@ -209,4 +209,13 @@ export default {
.fullwidth .btn {
flex: 1
}
.collapse-icon {
transition: transform;
transition-duration: 250ms;
}
.not-collapsed > .collapse-icon {
transform: rotate(-180deg);
}
</style>
......@@ -307,7 +307,7 @@
</b-row>
</template>
<b-button block squared variant="outline-secondary" v-b-toggle="account.login_name + '-collapse'">
<font-awesome-icon class="collapse-icon" :icon="['fas','chevron-up']"/>
<font-awesome-icon class="collapse-icon" :icon="['fas','chevron-down']"/>
</b-button>
<b-collapse :id="account.login_name + '-collapse'">
<b-table :items="tokens_by_account[account.login_name]"
......@@ -664,4 +664,15 @@ export default {
}
}
}
</script>
\ No newline at end of file
</script>
<style>
.collapse-icon {
transition: transform;
transition-duration: 250ms;
}
.not-collapsed > .collapse-icon {
transform: rotate(-180deg);
}
</style>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment