fix: style DataTableSelectionBar (#20403)
This commit is contained in:
1 parent
f062014952
commit
ea250febbc
4 files changed
+9
-13
No files matched your search
@@ -16,10 +16,10 @@ import {
|
||||
import { getUserAvatarUrl } from "@calcom/lib/getAvatarUrl";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
import { trpc } from "@calcom/trpc";
|
||||
import { Badge } from "@calcom/ui/components/badge";
|
||||
import { SkeletonText } from "@calcom/ui/components/skeleton";
|
||||
import { Avatar } from "@calcom/ui/components/avatar";
|
||||
import { Badge } from "@calcom/ui/components/badge";
|
||||
import { Checkbox } from "@calcom/ui/components/form";
|
||||
import { SkeletonText } from "@calcom/ui/components/skeleton";
|
||||
|
||||
import { DeleteBulkUsers } from "./BulkActions/DeleteBulkUsers";
|
||||
import { DeleteMemberModal } from "./DeleteMemberModal";
|
||||
@@ -304,7 +304,7 @@ function UserListTableContent({ oAuthClientId }: PlatformManagedUsersTableProps)
|
||||
</div>
|
||||
|
||||
{numberOfSelectedRows > 0 && (
|
||||
<DataTableSelectionBar.Root className="justify-center">
|
||||
<DataTableSelectionBar.Root className="!bottom-16 justify-center md:w-max">
|
||||
<p className="text-brand-subtle px-2 text-center text-xs leading-none sm:text-sm sm:font-medium">
|
||||
{t("number_selected", { count: numberOfSelectedRows })}
|
||||
</p>
|
||||
|
||||
@@ -539,16 +539,12 @@ function UserListTableContent() {
|
||||
}
|
||||
ToolbarRight={<DataTableFilters.ClearFiltersButton />}>
|
||||
{numberOfSelectedRows >= 2 && dynamicLinkVisible && (
|
||||
<DataTableSelectionBar.Root className="!bottom-16 md:!bottom-20">
|
||||
<DataTableSelectionBar.Root className="!bottom-[7.3rem] md:!bottom-32">
|
||||
<DynamicLink table={table} domain={domain} />
|
||||
</DataTableSelectionBar.Root>
|
||||
)}
|
||||
{numberOfSelectedRows > 0 && (
|
||||
<DataTableSelectionBar.Root
|
||||
className="justify-center"
|
||||
style={{
|
||||
width: "max-content",
|
||||
}}>
|
||||
<DataTableSelectionBar.Root className="!bottom-16 justify-center md:w-max">
|
||||
<p className="text-brand-subtle shrink-0 px-2 text-center text-xs leading-none sm:text-sm sm:font-medium">
|
||||
{t("number_selected", { count: numberOfSelectedRows })}
|
||||
</p>
|
||||
|
||||
Reference in new issue
Block a user