Skip to content

Commit

Permalink
improve child node looks
Browse files Browse the repository at this point in the history
  • Loading branch information
Juraci committed Jul 24, 2024
1 parent 7b98a5b commit 58a6fb8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/ChildNode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const hideContentPreview = (event) => {
@keydown.esc="editing = false"
/>
</span>
<Chip v-else>
<Chip class="child-node" v-else>
<Checkbox v-model="node.resolved" :binary="true" />
<div data-test-child-node-title class="chip-title">
{{ nodeTitle || 'add a title' }}
Expand Down Expand Up @@ -155,6 +155,10 @@ const hideContentPreview = (event) => {
</template>

<style>
.p-chip.child-node {
padding: 0rem 0rem 0rem 0.5rem;
border-radius: 2rem;
}
.chip-title {
margin: 0rem 1rem 0rem 1rem;
}
Expand Down

0 comments on commit 58a6fb8

Please sign in to comment.