Skip to content

Commit

Permalink
fix(nc-gui): PR review changes #2404
Browse files Browse the repository at this point in the history
  • Loading branch information
rameshmane7218 committed Feb 27, 2024
1 parent e477ae9 commit db47bcd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion packages/nc-gui/components/general/ImageCropper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ watch(showCropper, () => {
}
: {}
"
image-restriction="none"
/>
<div v-if="previewImage.src" class="result_preview">
<img :src="previewImage.src" alt="Preview Image" />
Expand Down
12 changes: 6 additions & 6 deletions packages/nc-gui/components/smartsheet/Form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -694,9 +694,9 @@ useEventListener(
@submit="handleOnUploadImage"
></GeneralImageCropper>
<!-- cover image -->
<div class="relative max-w-[max(33%,688px)] mx-auto">
<GeneralFormBanner :banner-image-url="formViewData.banner_image_url" />
<div class="absolute bottom-0 right-0">
<div class="group relative max-w-[max(33%,688px)] mx-auto">
<GeneralFormBanner :banner-image-url="formViewData.banner_image_url"/>
<div class="absolute bottom-0 right-0 hidden group-hover:block">
<div class="flex items-center space-x-1 m-2">
<NcButton
type="secondary"
Expand Down Expand Up @@ -750,8 +750,8 @@ useEventListener(
<!-- Form logo -->
<div class="mb-4">
<div
class="nc-form-logo-wrapper mx-6 group relative rounded-xl inline-block h-56px max-w-189px overflow-hidden"
:class="formViewData.logo_url ? 'hover:(w-full bg-gray-100)' : 'bg-gray-100'"
class="nc-form-logo-wrapper mx-6 group relative rounded-xl inline-block h-56px overflow-hidden"
:class="formViewData.logo_url ? 'hover:(w-full bg-gray-100) max-w-189px' : 'w-full bg-gray-100 max-w-148px'"
style="transition: all 0.3s ease-in"
>
<LazyCellAttachmentImage
Expand All @@ -761,7 +761,7 @@ useEventListener(
/>
<div
class="items-center space-x-1 flex-nowrap m-3"
:class="formViewData.logo_url ? 'hidden absolute top-0 left-0 group-hover:flex' : 'flex'"
:class="'hidden absolute top-0 left-0 group-hover:flex'"
>
<NcButton
v-if="isEditable"
Expand Down
2 changes: 1 addition & 1 deletion packages/nc-gui/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@
"hideNocodbBranding":"Hide NocoDB Branding",
"showOnConditions": "Show on condtions",
"showFieldOnConditionsMet":"Shows field only when conditions are met",
"limitOptions": "Limit ptions",
"limitOptions": "Limit options",
"limitOptionsSubtext": "Limit options visible to users by selecting available options",
"clearSelection": "Clear selection"
},
Expand Down

1 comment on commit db47bcd

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR changes have been deployed. Please run the following command to verify:

docker run -d -p 8888:8080 nocodb/nocodb-timely:0.204.1-pr-7729-20240227-0733

Please sign in to comment.