Browse Source

Merge pull request #8039 from nocodb/nc-fix/topbar-tab-text-overflow

Nc fix(nc-gui): topbar tab title text overflow issue
pull/8176/head
Ramesh Mane 6 months ago committed by GitHub
parent
commit
fc713f0608
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/nc-gui/components/smartsheet/Topbar.vue
  2. 6
      packages/nc-gui/components/smartsheet/topbar/SelectMode.vue

2
packages/nc-gui/components/smartsheet/Topbar.vue

@ -29,7 +29,7 @@ const isSharedBase = computed(() => route.value.params.typeOrId === 'base')
<GeneralOpenLeftSidebarBtn /> <GeneralOpenLeftSidebarBtn />
<LazySmartsheetToolbarViewInfo v-if="!isPublic" /> <LazySmartsheetToolbarViewInfo v-if="!isPublic" />
<div v-if="!isSharedBase && !isMobileMode" class="w-47.5"> <div v-if="!isSharedBase && !isMobileMode">
<SmartsheetTopbarSelectMode /> <SmartsheetTopbarSelectMode />
</div> </div>
<div class="flex-1" /> <div class="flex-1" />

6
packages/nc-gui/components/smartsheet/topbar/SelectMode.vue

@ -62,9 +62,9 @@ const onClickDetails = () => {
} }
.tab .tab-title { .tab .tab-title {
@apply min-w-0; @apply min-w-0;
word-break: 'keep-all'; word-break: keep-all;
white-space: 'nowrap'; white-space: nowrap;
display: 'inline'; display: inline;
line-height: 0.95; line-height: 0.95;
} }

Loading…
Cancel
Save