Skip to content

Commit

Permalink
add label, make cursor pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegZharkov committed Nov 8, 2021
1 parent e3f8848 commit d9ed7ed
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
14 changes: 12 additions & 2 deletions client/src/components/Form/Elements/FormColor.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<template>
<b-row>
<b-row >
<b-col sm="1">
<b-form-input v-model="currentValue" type="color" size="sm" />
<b-form-input class="cursor-pointer" :id="id" v-model="currentValue" type="color" size="sm" />
</b-col>
<b-col class="pl-0">
<label class="pt-1 cursor-pointer" :for="id">Select a color</label>
</b-col>
</b-row>
</template>
Expand All @@ -13,6 +16,10 @@ export default {
type: String,
required: true,
},
id: {
type: String,
required: true,
},
},
computed: {
currentValue: {
Expand All @@ -26,3 +33,6 @@ export default {
},
};
</script>
<style scoped>
@import "utils/pointer.css";
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -385,5 +385,5 @@ export default {
</script>

<style scoped>
@import "./pointer.css";
@import "utils/pointer.css";
</style>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "./TopToolbar/pointer.css";
@import "utils/pointer.css";

th:focus {
outline: none !important;
Expand Down
File renamed without changes.

0 comments on commit d9ed7ed

Please sign in to comment.