Skip to content

Commit

Permalink
fix: updates text to image (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
2xAA authored Oct 17, 2020
1 parent 34a9fef commit 4b5b0ef
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/assets/graphics/Arrow-vertical.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 10 additions & 1 deletion src/components/CollapsibleRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
<grid columns="4">
<c span="1"><slot name="label"/></c>
<c span="3">
<Button @mousedown="open = !open">Open/Close</Button>
<Button @mousedown="open = !open">
<img
:class="{ flip: !open }"
src="../assets/graphics/Arrow-vertical.svg"
/>
</Button>
</c>
</grid>
</c>
Expand Down Expand Up @@ -33,4 +38,8 @@ export default {
.label-row {
border-bottom: 1px solid #9a9a9a;
}
.flip {
transform: scaleY(-1);
}
</style>

0 comments on commit 4b5b0ef

Please sign in to comment.