diff --git a/app/client/src/ce/constants/messages.ts b/app/client/src/ce/constants/messages.ts index bc4d16b1b8eb..226abaad3bda 100644 --- a/app/client/src/ce/constants/messages.ts +++ b/app/client/src/ce/constants/messages.ts @@ -1698,13 +1698,13 @@ export const ADMIN_BRANDING_LOGO_FORMAT_ERROR = () => export const ADMIN_BRANDING_LOGO_REQUIREMENT = () => `.SVG, .PNG, or .JPG only • Max 2MB`; export const ADMIN_BRANDING_FAVICON_DIMENSION_ERROR = () => - `Uploaded file must have a max size of 32X32 pixels`; + `Uploaded file must have a max size of 48X48 pixels`; export const ADMIN_BRANDING_FAVICON_SIZE_ERROR = () => `Uploaded file must be less than 2MB`; export const ADMIN_BRANDING_FAVICON_FORMAT_ERROR = () => `Uploaded file must be in .ICO, .PNG, and .JPG formats`; export const ADMIN_BRANDING_FAVICON_REQUIREMENT = () => - `.ICO, .PNG, or .JPG only • Max 32X32`; + `.ICO, .PNG, or .JPG only • Max 48X48`; export const PROFILE_DISPLAY_PICTURE_REQUIREMENT = () => `.ICO, .PNG, or .JPG only • Max 32X32`; export const ADMIN_BRANDING_COLOR_TOOLTIP_PRIMARY = () => diff --git a/app/client/src/pages/Editor/AppsmithLink.tsx b/app/client/src/pages/Editor/AppsmithLink.tsx index a92f2097fdfa..216cf98506ce 100644 --- a/app/client/src/pages/Editor/AppsmithLink.tsx +++ b/app/client/src/pages/Editor/AppsmithLink.tsx @@ -22,7 +22,6 @@ export const StyledLink = styled((props) => { min-width: 24px; width: 24px; height: 24px; - object-fit: contain; } `; @@ -49,8 +48,10 @@ export const AppsmithLink = () => { alt="Appsmith logo" className="t--appsmith-logo" src={ - organizationConfig.brandLogoUrl - ? organizationConfig.brandLogoUrl + organizationConfig.brandFaviconUrl && + organizationConfig.brandFaviconUrl !== + "https://assets.appsmith.com/appsmith-favicon-orange.ico" + ? organizationConfig.brandFaviconUrl : AppsmithLogo } /> diff --git a/app/client/src/utils/BrandingUtils.ts b/app/client/src/utils/BrandingUtils.ts index 5b3d2fac00a0..a63d6a4acda4 100644 --- a/app/client/src/utils/BrandingUtils.ts +++ b/app/client/src/utils/BrandingUtils.ts @@ -13,8 +13,8 @@ import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; import { getAssetUrl } from "ee/utils/airgapHelpers"; import { LightModeTheme } from "@appsmith/wds-theming"; -const FAVICON_MAX_WIDTH = 32; -const FAVICON_MAX_HEIGHT = 32; +const FAVICON_MAX_WIDTH = 48; +const FAVICON_MAX_HEIGHT = 48; const DEFAULT_BRANDING_PRIMARY_COLOR = "#E15615"; export const APPSMITH_BRAND_PRIMARY_COLOR =