Browse Source

fix: update color

pull/8990/head
DarkPhoenix2704 4 months ago
parent
commit
0771924b7a
No known key found for this signature in database
GPG Key ID: 3F76B10622A07849
  1. 11
      packages/nc-gui/components/cell/attachment/Modal.vue

11
packages/nc-gui/components/cell/attachment/Modal.vue

@ -170,15 +170,18 @@ const handleFileDelete = (i: number) => {
<IcOutlineInsertDriveFile v-else :height="45" :width="45" @click.stop="openAttachment(item)" /> <IcOutlineInsertDriveFile v-else :height="45" :width="45" @click.stop="openAttachment(item)" />
</div> </div>
<div class="relative px-1 flex" :title="item.title"> <div class="relative px-1 items-center flex" :title="item.title">
<NcTooltip show-on-truncate-only class="flex-auto truncate w-full text-[13px] items-center text-sm line-height-4"> <NcTooltip
show-on-truncate-only
class="flex-auto truncate w-full text-[12px] items-center text-gray-700 text-sm line-height-4"
>
{{ item.title }} {{ item.title }}
<template #title> <template #title>
{{ item.title }} {{ item.title }}
</template> </template>
</NcTooltip> </NcTooltip>
<div class="flex-none hide-ui transition-all transition-ease-in-out !h-5 gap-0.5 pb-2 flex items-center bg-white"> <div class="flex-none hide-ui transition-all transition-ease-in-out !h-5 gap-0.5 flex items-center bg-white">
<NcTooltip placement="bottom"> <NcTooltip placement="bottom">
<template #title> {{ $t('title.downloadFile') }} </template> <template #title> {{ $t('title.downloadFile') }} </template>
<NcButton <NcButton
@ -248,7 +251,7 @@ const handleFileDelete = (i: number) => {
<style lang="scss"> <style lang="scss">
.hide-ui { .hide-ui {
@apply h-0 w-0 overflow-hidden whitespace-nowrap; @apply h-0 w-0 overflow-x-hidden whitespace-nowrap;
.group:hover & { .group:hover & {
@apply h-auto w-auto overflow-visible whitespace-normal; @apply h-auto w-auto overflow-visible whitespace-normal;
} }

Loading…
Cancel
Save