From 99f11dcc5c4ff564c7f3243403c9fce2731955f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20L=C3=B3pez?= Date: Fri, 9 Sep 2022 02:22:39 -0600 Subject: [PATCH] Removes dynamic dimensions for V2 Skeletons in favor of classnames (#4263) * WIP * Removes dynamic width in favor of classnames * Update useLocale.ts Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com> --- .../components/eventtype/SkeletonLoader.tsx | 8 ++--- .../steps-views/ConnectCalendars.tsx | 6 ++-- apps/web/components/v2/apps/App.tsx | 2 +- apps/web/pages/settings/teams/[id]/index.tsx | 6 ++-- packages/ui/skeleton/index.tsx | 14 +++++++-- packages/ui/v2/core/Shell.tsx | 8 ++--- packages/ui/v2/core/skeleton/index.tsx | 29 ++++--------------- packages/ui/v2/modules/booker/DatePicker.tsx | 6 ++-- 8 files changed, 32 insertions(+), 47 deletions(-) diff --git a/apps/web/components/eventtype/SkeletonLoader.tsx b/apps/web/components/eventtype/SkeletonLoader.tsx index 0ea73a6b30..66e507bfb4 100644 --- a/apps/web/components/eventtype/SkeletonLoader.tsx +++ b/apps/web/components/eventtype/SkeletonLoader.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import { SkeletonAvatar, SkeletonContainer, SkeletonText } from "@calcom/ui"; import { Icon } from "@calcom/ui/Icon"; @@ -7,10 +5,10 @@ function SkeletonLoader() { return (
- +
- - + +