Browse Source

feat(nc-gui): separator not working

pull/7753/head
DarkPhoenix2704 9 months ago
parent
commit
1254b67813
  1. 15
      packages/nc-gui/components/smartsheet/calendar/Cell.vue

15
packages/nc-gui/components/smartsheet/calendar/Cell.vue

@ -356,7 +356,7 @@ const parseValue = (value: any, col: ColumnType): string => {
<template> <template>
<span <span
class="before:content-['•'] !first:before:content-[''] !first:before:px-0 before:px-1" class="calendar-cell before:px-1"
:class="{ :class="{
'font-bold': bold, 'font-bold': bold,
'italic': italic, 'italic': italic,
@ -368,4 +368,15 @@ const parseValue = (value: any, col: ColumnType): string => {
</span> </span>
</template> </template>
<style lang="scss" scoped></style> <style lang="scss" scoped>
.calendar-cell {
&::before {
content: '•';
padding: 0 4px;
}
&:first-child::before {
content: '';
padding: 0;
}
}
</style>

Loading…
Cancel
Save