Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Workspace Permissions overlaps with their descriptions on smaller windows #2127

Merged
merged 15 commits into from
Oct 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/dashboard/app/(app)/settings/root-keys/new/client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export const Client: React.FC<Props> = ({ apis }) => {
<PermissionToggle
permissionName={`selectAll-${category}`}
label={<span className="text-base font-bold">{category}</span>}
description={`Select all for ${category} permissions for this API`}
description={`Select all ${category} permissions for this API`}
checked={isAllSelected}
setChecked={(isChecked) => {
allPermissionNames.forEach((permission) => {
Expand Down Expand Up @@ -305,7 +305,7 @@ const PermissionToggle: React.FC<PermissionToggleProps> = ({
}) => {
return (
<div className="flex items-center gap-0">
<div className="w-1/3 ">
<div className="w-4/6 mr-2 md:w-1/3">
<Tooltip>
<TooltipTrigger className="flex items-center gap-2">
<Checkbox
Expand Down