Browse Source

fix : header text will be gray

pull/3172/head
Naveen MR 2 years ago
parent
commit
6b2a84d19e
  1. 2
      packages/nc-gui-v2/components/smartsheet-header/Cell.vue
  2. 2
      packages/nc-gui-v2/components/smartsheet-header/VirtualCell.vue

2
packages/nc-gui-v2/components/smartsheet-header/Cell.vue

@ -24,7 +24,7 @@ function onVisibleChange() {
</script> </script>
<template> <template>
<div class="flex items-center w-full text-xs text-normal" :class="{ 'h-full': column }"> <div class="flex items-center w-full text-xs text-normal text-gray-500 font-weight-medium" :class="{ 'h-full': column }">
<SmartsheetHeaderCellIcon v-if="column" /> <SmartsheetHeaderCellIcon v-if="column" />
<span v-if="column" class="name" style="white-space: nowrap" :title="column.title">{{ column.title }}</span> <span v-if="column" class="name" style="white-space: nowrap" :title="column.title">{{ column.title }}</span>
<span v-if="(column.rqd && !column.cdf) || required" class="text-red-500">&nbsp;*</span> <span v-if="(column.rqd && !column.cdf) || required" class="text-red-500">&nbsp;*</span>

2
packages/nc-gui-v2/components/smartsheet-header/VirtualCell.vue

@ -101,7 +101,7 @@ function onVisibleChange() {
</script> </script>
<template> <template>
<div class="flex items-center w-full text-xs text-normal" :class="{ 'h-full': column }"> <div class="flex items-center w-full text-xs text-gray-500 font-weight-medium" :class="{ 'h-full': column }">
<SmartsheetHeaderVirtualCellIcon v-if="column" /> <SmartsheetHeaderVirtualCellIcon v-if="column" />
<a-tooltip placement="bottom"> <a-tooltip placement="bottom">

Loading…
Cancel
Save