fix sibling btn positionning
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
class="node-view-footer" :class="'node-view-footer-' + mode"
|
||||
>
|
||||
<div class="node-view-footer-wrapper w-100">
|
||||
<div class="node-view-footer-base">
|
||||
<div class="tags mb-n2">
|
||||
<b-badge
|
||||
v-for="tag in node.tags" :key="tag.id"
|
||||
@@ -13,7 +14,7 @@
|
||||
</div>
|
||||
|
||||
<div v-if="mode === 'view' && node.siblings && node.siblings.length">
|
||||
<b-button :id="'siblings-' + node.id" variant="depart" class="mb-2">
|
||||
<b-button :id="'siblings-' + node.id" variant="depart" class="siblings">
|
||||
{{ $t('siblings') }}
|
||||
</b-button>
|
||||
|
||||
@@ -44,6 +45,7 @@
|
||||
</ul>
|
||||
</b-popover>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-if="mode === 'card' && preview" class="mt-2">
|
||||
<b-button @click="onOpenSelf()" variant="depart" class="btn-read">
|
||||
@@ -115,6 +117,17 @@ export default {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
&-base {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
|
||||
.siblings {
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-read {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user