Fix color picker positioning
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -61,6 +61,9 @@
|
|||||||
|
|
||||||
<!-- edit entry -->
|
<!-- edit entry -->
|
||||||
<div v-if="editing" class="app-navigation-entry-edit">
|
<div v-if="editing" class="app-navigation-entry-edit">
|
||||||
|
<ColorPicker class="app-navigation-entry-bullet-wrapper" :value="`#${board.color}`" @input="updateColor">
|
||||||
|
<div :style="{ backgroundColor: getColor }" class="color0 icon-colorpicker app-navigation-entry-bullet"></div>
|
||||||
|
</ColorPicker>
|
||||||
<form @submit.prevent.stop="applyEdit">
|
<form @submit.prevent.stop="applyEdit">
|
||||||
<input v-model="editTitle" type="text" required>
|
<input v-model="editTitle" type="text" required>
|
||||||
<input type="submit" value="" class="icon-confirm">
|
<input type="submit" value="" class="icon-confirm">
|
||||||
@@ -69,12 +72,6 @@
|
|||||||
class="icon-close"
|
class="icon-close"
|
||||||
@click.stop.prevent="cancelEdit">
|
@click.stop.prevent="cancelEdit">
|
||||||
</form>
|
</form>
|
||||||
<!-- <ColorPicker v-model="editColor" /> -->
|
|
||||||
<ColorPicker :value="`#${board.color}`" @input="updateColor">
|
|
||||||
<div :style="{ backgroundColor: getColor }" class="color0">
|
|
||||||
Click to choose color
|
|
||||||
</div>
|
|
||||||
</ColorPicker>
|
|
||||||
</div>
|
</div>
|
||||||
</router-link>
|
</router-link>
|
||||||
</template>
|
</template>
|
||||||
@@ -279,8 +276,17 @@ export default {
|
|||||||
#app-navigation #deck-navigation .editing {
|
#app-navigation #deck-navigation .editing {
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
}
|
}
|
||||||
|
.app-navigation-entry-bullet-wrapper {
|
||||||
|
position: absolute;
|
||||||
|
left: 33px;
|
||||||
|
width: 44px !important;
|
||||||
|
margin: 6px;
|
||||||
|
height: 44px;
|
||||||
.color0 {
|
.color0 {
|
||||||
border-radius: 6px;
|
width: 30px !important;
|
||||||
height: 25px;
|
height: 30px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background-size: 14px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user