Browse Source

refactor(nc-gui): revise attachment highlighted search color

pull/4931/head
Wing-Kam Wong 2 years ago
parent
commit
60f2b8e463
  1. 2
      packages/nc-gui/components/smartsheet/column/AttachmentOptions.vue

2
packages/nc-gui/components/smartsheet/column/AttachmentOptions.vue

@ -102,7 +102,7 @@ watch(searchValue, (value) => {
<template #title="{ title }">
<span v-if="title.indexOf(searchValue) > -1">
{{ title.substr(0, title.indexOf(searchValue)) }}
<span style="color: #f50">{{ searchValue }}</span>
<span class="text-primary font-bold">{{ searchValue }}</span>
{{ title.substr(title.indexOf(searchValue) + searchValue.length) }}
</span>
<span v-else>{{ title }}</span>

Loading…
Cancel
Save