mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Adjust styling of current user selected
This commit is contained in:
parent
9503cb89b6
commit
ac6a81cbd8
@ -2,7 +2,7 @@
|
|||||||
<ul :class="listClasses" v-if="picked.length && displayPicked">
|
<ul :class="listClasses" v-if="picked.length && displayPicked">
|
||||||
<li v-for="p in picked" @click="removeEntity(p)" :key="p.type + p.id">
|
<li v-for="p in picked" @click="removeEntity(p)" :key="p.type + p.id">
|
||||||
<!-- todo: use translations-->
|
<!-- todo: use translations-->
|
||||||
<span v-if="'me' === p" class="chill_denomination">{{ trans(USER_CURRENT_USER) }}</span>
|
<span v-if="'me' === p" class="chill_denomination current-user updatedBy">{{ trans(USER_CURRENT_USER) }}</span>
|
||||||
<span v-else class="chill_denomination">{{ p.text }}</span>
|
<span v-else class="chill_denomination">{{ p.text }}</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -102,3 +102,11 @@ const removeEntity = (entity) => {
|
|||||||
emit("removeEntity", { entity });
|
emit("removeEntity", { entity });
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.current-user {
|
||||||
|
color: var(--bs-body-color);
|
||||||
|
//font-style: italic;
|
||||||
|
background-color: var(--bs-chill-l-gray) !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user