Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: unify react ui style (#19794)

ecmadao7599dfdfd16b
diff --git a/.github/workflows/build-push-cloud-image.yml b/.github/workflows/build-push-cloud-image.yml
index f44a549708..105bdc9f23 100644
--- a/.github/workflows/build-push-cloud-image.yml
+++ b/.github/workflows/build-push-cloud-image.yml
@@ -22,16 +22,16 @@ jobs:
run: |
echo "GIT_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
- - name: Set up Cloud SDK
- uses: google-github-actions/setup-gcloud@v3
- with:
- project_id: ${{ secrets.GCP_PROJECT_ID }}
-
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v3
with:
credentials_json: ${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}
+ - name: Set up Cloud SDK
+ uses: google-github-actions/setup-gcloud@v3
+ with:
+ project_id: ${{ secrets.GCP_PROJECT_ID }}
+
- name: Configure Docker for Artifact Registry
run: |
gcloud auth configure-docker ${{ env.GAR_LOCATION }}-docker.pkg.dev
diff --git a/.github/workflows/build-push-demo-image.yml b/.github/workflows/build-push-demo-image.yml
index 611dfe8c1b..1004fdb8f1 100644
--- a/.github/workflows/build-push-demo-image.yml
+++ b/.github/workflows/build-push-demo-image.yml
@@ -21,24 +21,24 @@ jobs:
- name: Extract build args
run: |
echo "GIT_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
-
- - name: Set up Cloud SDK
- uses: google-github-actions/setup-gcloud@v3
- with:
- project_id: ${{ secrets.GCP_PROJECT_ID }}
-
+
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v3
with:
credentials_json: ${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}
-
+
+ - name: Set up Cloud SDK
+ uses: google-github-actions/setup-gcloud@v3
+ with:
+ project_id: ${{ secrets.GCP_PROJECT_ID }}
+
- name: Configure Docker for Artifact Registry
run: |
gcloud auth configure-docker ${{ env.GAR_LOCATION }}-docker.pkg.dev
-
+
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
+
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
@@ -51,11 +51,6 @@ jobs:
VERSION=demo
GIT_COMMIT=${{ env.GIT_COMMIT }}
RELEASE=dev
-
- - name: Authenticate to Google Cloud
- uses: google-github-actions/auth@v3
- with:
- credentials_json: ${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}
- name: Get GKE credentials
uses: google-github-actions/get-gke-credentials@v3
diff --git a/frontend/src/react/components/AdvancedSearch.tsx b/frontend/src/react/components/AdvancedSearch.tsx
index 0a3bceb7e7..a59f112adb 100644
--- a/frontend/src/react/components/AdvancedSearch.tsx
+++ b/frontend/src/react/components/AdvancedSearch.tsx
@@ -400,7 +400,7 @@ export function AdvancedSearch({
<div ref={containerRef} className="w-full min-w-0 relative">
{/* Input container */}
<div
- className="flex items-center border border-gray-300 rounded-md focus-within:border-gray-400 bg-white transition-colors"
+ className="flex items-center border border-gray-300 rounded-xs bg-white transition-colors"
onClick={() => inputRef.current?.focus()}
>
{/* Prefix: filter icon + tags */}
@@ -414,7 +414,7 @@ export function AdvancedSearch({
<span
key={`${originalIndex}-${scope.id}`}
className={cn(
- "inline-flex items-center gap-1 rounded bg-gray-100 px-1.5 py-0.5 text-xs whitespace-nowrap shrink-0",
+ "inline-flex items-center gap-1 rounded-xs bg-gray-100 px-1.5 py-0.5 text-xs whitespace-nowrap shrink-0",
focusedTagIndex === originalIndex && "ring-1 ring-accent"
)}
onClick={(e) => {
@@ -443,7 +443,7 @@ export function AdvancedSearch({
{/* Input */}
<input
ref={inputRef}
- className="flex-1 min-w-[120px] h-9 bg-transparent px-2 text-sm text-main placeholder:text-control-placeholder focus:outline-none"
+ className="flex-1 min-w-[120px] h-9 bg-transparent border-none px-2 text-sm text-main placeholder:text-control-placeholder focus:outline-none focus:border-none focus:ring-0 focus:shadow-none"
value={inputText}
placeholder={visibleTags.length > 0 ? "" : placeholder}
onClick={handleInputClick}
diff --git a/frontend/src/react/components/ExprEditor.tsx b/frontend/src/react/components/ExprEditor.tsx
index b19dae896c..65d4403bff 100644
--- a/frontend/src/react/components/ExprEditor.tsx
+++ b/frontend/src/react/components/ExprEditor.tsx
@@ -617,7 +617,7 @@ function MultiCheckSelect({
))}
</button>
{open && (
- <div className="absolute z-50 mt-1 w-full bg-white border border-control-border rounded-md shadow-md py-1">
+ <div className="absolute z-50 mt-1 w-full bg-white border border-control-border rounded-sm shadow-md py-1">
<label className="flex items-center gap-2 px-3 py-1.5 text-sm cursor-pointer border-b border-control-border hover:bg-control-bg">
<input
type="checkbox"
diff --git a/frontend/src/react/components/ui/alert.tsx b/frontend/src/react/components/ui/alert.tsx
index 9f450e026c..ddb977daf0 100644
--- a/frontend/src/react/components/ui/alert.tsx
+++ b/frontend/src/react/components/ui/alert.tsx
@@ -9,7 +9,7 @@ import type { ComponentProps } from "react";
import { cn } from "@/react/lib/utils";
const alertVariants = cva(
- "relative w-full rounded-md border px-4 py-3 text-sm flex gap-x-3",
+ "relative w-full rounded-xs border px-4 py-3 text-sm flex gap-x-3",
{
variants: {
variant: {
diff --git a/frontend/src/react/components/ui/button.tsx b/frontend/src/react/components/ui/button.tsx
index 3034e77248..c0f3cdeffb 100644
--- a/frontend/src/react/components/ui/button.tsx
+++ b/frontend/src/react/components/ui/button.tsx
@@ -4,7 +4,7 @@ import type { ComponentProps } from "react";
import { cn } from "@/react/lib/utils";
const buttonVariants = cva(
- "inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap cursor-pointer transition-colors focus:outline-hidden focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
+ "inline-flex items-center justify-center gap-2 rounded-xs text-sm font-medium whitespace-nowrap cursor-pointer transition-colors focus:outline-hidden focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
{
variants: {
variant: {
diff --git a/frontend/src/react/components/ui/input.tsx b/frontend/src/react/components/ui/input.tsx
index cfdd714520..bca90c1ade 100644
--- a/frontend/src/react/components/ui/input.tsx
+++ b/frontend/src/react/components/ui/input.tsx
@@ -9,7 +9,7 @@ function Input({ className, ref, ...props }: InputProps) {
<BaseInput
ref={ref}
className={cn(
- "flex h-9 w-full rounded-md border border-control-border bg-transparent px-3 py-1 text-sm text-main transition-colors",
+ "flex h-9 w-full rounded-xs border border-control-border bg-transparent px-3 py-1 text-sm text-main transition-colors",
"placeholder:text-control-placeholder",
"focus:outline-hidden focus:ring-2 focus:ring-accent focus:border-accent",
"disabled:cursor-not-allowed disabled:bg-control-bg disabled:opacity-50",
diff --git a/frontend/src/react/components/ui/select.tsx b/frontend/src/react/components/ui/select.tsx
index 76bc935da4..565f559383 100644
--- a/frontend/src/react/components/ui/select.tsx
+++ b/frontend/src/react/components/ui/select.tsx
@@ -17,7 +17,7 @@ function SelectTrigger({
<BaseSelect.Trigger
ref={ref}
className={cn(
- "inline-flex items-center justify-between gap-1 h-8 px-2 text-sm rounded-md border border-control-border bg-white text-control whitespace-nowrap",
+ "inline-flex items-center justify-between gap-1 h-8 px-2 text-sm rounded-xs border border-control-border bg-white text-control whitespace-nowrap",
"hover:bg-control-bg focus:outline-hidden focus-visible:ring-2 focus-visible:ring-accent",
"disabled:pointer-events-none disabled:opacity-50",
className
@@ -48,7 +48,7 @@ function SelectContent({
<BaseSelect.Popup
ref={ref}
className={cn(
- "z-50 min-w-[var(--anchor-width)] max-h-60 overflow-auto rounded-md border border-control-border bg-white py-1 shadow-md",
+ "z-50 min-w-(--anchor-width) max-h-60 overflow-auto rounded-xs border border-control-border bg-white py-1 shadow-md",
className
)}
{...props}
@@ -73,7 +73,7 @@ function SelectItem({
className={cn(
"relative flex items-center gap-2 px-2 py-1.5 pl-7 text-sm cursor-pointer select-none",
"hover:bg-control-bg focus:bg-control-bg outline-hidden",
- "data-[highlighted]:bg-control-bg",
+ "data-highlighted:bg-control-bg",
className
)}
{...props}
diff --git a/frontend/src/react/components/ui/tabs.tsx b/frontend/src/react/components/ui/tabs.tsx
index 2c10110619..7847f438ee 100644
--- a/frontend/src/react/components/ui/tabs.tsx
+++ b/frontend/src/react/components/ui/tabs.tsx
@@ -26,7 +26,7 @@ function TabsTrigger({
<BaseTabs.Tab
className={cn(
"relative px-1 pb-2 text-sm font-medium text-control-light transition-colors hover:text-control cursor-pointer",
- "aria-selected:text-accent aria-selected:after:absolute aria-selected:after:inset-x-0 aria-selected:after:bottom-[-1px] aria-selected:after:h-0.5 aria-selected:after:bg-accent",
+ "aria-selected:text-accent aria-selected:after:absolute aria-selected:after:inset-x-0 aria-selected:after:-bottom-px aria-selected:after:h-0.5 aria-selected:after:bg-accent",
"focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2",
className
)}
diff --git a/frontend/src/react/components/ui/textarea.tsx b/frontend/src/react/components/ui/textarea.tsx
index d0cbc7fe53..d3617c7025 100644
--- a/frontend/src/react/components/ui/textarea.tsx
+++ b/frontend/src/react/components/ui/textarea.tsx
@@ -8,7 +8,7 @@ function Textarea({ className, ref, ...props }: TextareaProps) {
<textarea
ref={ref}
className={cn(
- "flex min-h-[100px] w-full rounded-md border border-control-border bg-transparent px-3 py-2 text-sm text-main transition-colors",
+ "flex min-h-25 w-full rounded-xs border border-control-border bg-transparent px-3 py-2 text-sm text-main transition-colors",
"placeholder:text-control-placeholder",
"focus:outline-hidden focus:ring-2 focus:ring-accent focus:border-accent",
"disabled:cursor-not-allowed disabled:bg-control-bg disabled:opacity-50",
diff --git a/frontend/src/react/pages/settings/EnvironmentsPage.tsx b/frontend/src/react/pages/settings/EnvironmentsPage.tsx
index 26dea26aea..82e04bfe8c 100644
--- a/frontend/src/react/pages/settings/EnvironmentsPage.tsx
+++ b/frontend/src/react/pages/settings/EnvironmentsPage.tsx
@@ -923,7 +923,7 @@ function EnvironmentDetail({
onClick={() => setShowDeleteConfirm(false)}
/>
<div className="fixed inset-0 z-50 flex items-center justify-center">
- <div className="bg-white rounded-lg shadow-xl p-6 max-w-md w-full mx-4">
+ <div className="bg-white rounded-md shadow-xl p-6 max-w-md w-full mx-4">
<h3 className="text-lg font-medium mb-2">
{t("environment.delete")} '{editTitle}'?
</h3>
@@ -1423,7 +1423,7 @@ export function EnvironmentsPage() {
<div className="py-4 w-full h-full flex flex-col gap-4">
{/* Tabs header */}
<div className="flex items-center border-b border-control-border">
- <div className="flex-1 flex overflow-x-auto">
+ <div className="flex-1 flex overflow-x-auto overflow-y-hidden">
{environmentList.map((env, index) => (
<button
key={env.id}
diff --git a/frontend/src/react/pages/settings/IDPDetailPage.tsx b/frontend/src/react/pages/settings/IDPDetailPage.tsx
index a1d0554811..51fe0851b7 100644
--- a/frontend/src/react/pages/settings/IDPDetailPage.tsx
+++ b/frontend/src/react/pages/settings/IDPDetailPage.tsx
@@ -82,7 +82,7 @@ function TestConnectionResultDialog({
if (e.target === e.currentTarget) onClose();
}}
>
- <div className="bg-white rounded-lg shadow-lg w-[32rem] max-h-[80vh] overflow-auto p-6">
+ <div className="bg-white rounded-md shadow-lg w-[32rem] max-h-[80vh] overflow-auto p-6">
<div className="flex items-center justify-between mb-4">
<div className="flex items-center gap-x-2">
<div className="w-6 h-6 text-green-500">&#10003;</div>
@@ -99,7 +99,7 @@ function TestConnectionResultDialog({
<p className="text-sm text-control-light">
{t("identity-provider.userinfo-description")}
</p>
- <div className="bg-gray-50 rounded-lg p-4">
+ <div className="bg-gray-50 rounded-md p-4">
<div className="flex flex-col gap-y-1">
{Object.entries(response.userInfo).map(([key, value]) => (
<div
@@ -126,7 +126,7 @@ function TestConnectionResultDialog({
<p className="text-sm text-control-light">
{t("identity-provider.claims-description")}
</p>
- <div className="bg-gray-50 rounded-lg p-4">
+ <div className="bg-gray-50 rounded-md p-4">
{Object.keys(response.claims).length === 0 ? (
<div className="text-sm text-control-light italic">
{t("identity-provider.no-claims")}
@@ -345,7 +345,7 @@ function DeleteConfirmDialog({
if (e.target === e.currentTarget) onCancel();
}}
>
- <div className="bg-white rounded-lg shadow-lg w-96 p-6">
+ <div className="bg-white rounded-md shadow-lg w-96 p-6">
<h3 className="text-lg font-medium mb-2">{t("settings.sso.delete")}</h3>
<p className="text-sm text-gray-600 mb-6">
{t("identity-provider.delete-warning")}
diff --git a/frontend/src/react/pages/settings/IDPsPage.tsx b/frontend/src/react/pages/settings/IDPsPage.tsx
index 08e617c9c5..48c35e4d83 100644
--- a/frontend/src/react/pages/settings/IDPsPage.tsx
+++ b/frontend/src/react/pages/settings/IDPsPage.tsx
@@ -143,7 +143,7 @@ function ExternalURLInfo({ type }: { type: IdentityProviderType }) {
};
return (
- <div className="p-4 rounded-lg border border-gray-200 bg-gray-50">
+ <div className="p-4 rounded-md border border-gray-200 bg-gray-50">
<div className="flex items-start gap-x-3">
<Info className="w-5 h-5 text-blue-500 mt-0.5 shrink-0" />
<div className="flex-1 min-w-0">
@@ -161,7 +161,7 @@ function ExternalURLInfo({ type }: { type: IdentityProviderType }) {
<input
value={redirectUrl}
readOnly
- className="flex-1 px-3 py-2 border border-gray-300 rounded-md bg-white text-sm font-mono text-gray-700"
+ className="flex-1 px-3 py-2 border border-gray-300 rounded-sm bg-white text-sm font-mono text-gray-700"
/>
<Button variant="outline" size="sm" onClick={handleCopy}>
{t("common.copy")}
@@ -195,7 +195,7 @@ function TestConnectionResultDialog({
if (e.target === e.currentTarget) onClose();
}}
>
- <div className="bg-white rounded-lg shadow-lg w-[32rem] max-h-[80vh] overflow-auto p-6">
+ <div className="bg-white rounded-md shadow-lg w-[32rem] max-h-[80vh] overflow-auto p-6">
<div className="flex items-center justify-between mb-4">
<div className="flex items-center gap-x-2">
<div className="w-6 h-6 text-green-500">&#10003;</div>
@@ -212,7 +212,7 @@ function TestConnectionResultDialog({
<p className="text-sm text-control-light">
{t("identity-provider.userinfo-description")}
</p>
- <div className="bg-gray-50 rounded-lg p-4">
+ <div className="bg-gray-50 rounded-md p-4">
<div className="flex flex-col gap-y-1">
{Object.entries(response.userInfo).map(([key, value]) => (
<div
@@ -239,7 +239,7 @@ function TestConnectionResultDialog({
<p className="text-sm text-control-light">
{t("identity-provider.claims-description")}
</p>
- <div className="bg-gray-50 rounded-lg p-4">
+ <div className="bg-gray-50 rounded-md p-4">
{Object.keys(response.claims).length === 0 ? (
<div className="text-sm text-control-light italic">
{t("identity-provider.no-claims")}
@@ -1691,7 +1691,7 @@ function CreateWizardDrawer({
</div>
{/* Step content */}
- <div className="bg-white rounded-lg border border-gray-200 px-6 pt-6 pb-10">
+ <div className="bg-white rounded-md border border-gray-200 px-6 pt-6 pb-10">
{/* Step 1: Select provider type */}
{currentStep === 1 && (
<div className="flex flex-col gap-y-6">
@@ -1712,7 +1712,7 @@ function CreateWizardDrawer({
return (
<label
key={item.type}
- className={`block border rounded-lg mb-4 p-4 transition-colors cursor-pointer ${
+ className={`block border rounded-md mb-4 p-4 transition-colors cursor-pointer ${
selectedType === item.type
? "border-blue-500 bg-blue-50"
: "border-gray-200 hover:border-gray-300"
@@ -1769,7 +1769,7 @@ function CreateWizardDrawer({
return (
<label
key={tmpl.title}
- className={`block border rounded-lg p-4 transition-colors cursor-pointer ${
+ className={`block border rounded-md p-4 transition-colors cursor-pointer ${
selectedTemplate?.title === tmpl.title
? "border-blue-500 bg-blue-50"
: "border-gray-200 hover:border-gray-300"
@@ -2039,7 +2039,7 @@ export function IDPsPage() {
</div>
{ready ? (
- <div className="border rounded-md overflow-hidden">
+ <div className="border rounded-sm overflow-hidden">
<table className="w-full text-sm">
<thead>
<tr className="border-b bg-control-bg">
diff --git a/frontend/src/react/pages/settings/ProjectsPage.tsx b/frontend/src/react/pages/settings/ProjectsPage.tsx
index 0338e8adaa..a932612e70 100644
--- a/frontend/src/react/pages/settings/ProjectsPage.tsx
+++ b/frontend/src/react/pages/settings/ProjectsPage.tsx
@@ -203,7 +203,7 @@ function ConfirmDialog({
<div className="fixed inset-0 bg-black/50" onClick={onCancel} />
<div
className={cn(
- "relative bg-white rounded-lg shadow-lg max-w-lg w-full mx-4 border-t-4",
+ "relative bg-white rounded-md shadow-lg max-w-lg w-full mx-4 border-t-4",
borderColor
)}
>
@@ -694,7 +694,7 @@ function ProjectActionDropdown({
<EllipsisVertical className="h-4 w-4" />
</button>
{open && (
- <div className="absolute right-0 top-full mt-1 bg-white border border-control-border rounded-md shadow-lg z-10 min-w-[120px]">
+ <div className="absolute right-0 top-full mt-1 bg-white border border-control-border rounded-sm shadow-lg z-10 min-w-[120px]">
{isActive && canDelete && (
<button
className="w-full text-left px-3 py-2 text-sm hover:bg-control-bg flex items-center gap-x-2"
@@ -1217,7 +1217,7 @@ export function ProjectsPage() {
{t("common.rows-per-page")}
</span>
<select
- className="border border-control-border rounded-md text-sm pl-2 pr-6 py-1 min-w-[5rem]"
+ className="border border-control-border rounded-sm text-sm pl-2 pr-6 py-1 min-w-[5rem]"
value={pageSize}
onChange={(e) => setPageSize(Number(e.target.value))}
>
@@ -1268,7 +1268,7 @@ function LabelsDisplay({ labels }: { labels: { [key: string]: string } }) {
return (
<div className="flex items-center gap-x-1">
{displayEntries.map(([key, value]) => (
- <span key={key} className="rounded-lg bg-gray-100 py-0.5 px-2 text-sm">
+ <span key={key} className="rounded-md bg-gray-100 py-0.5 px-2 text-sm">
{key}:{value}
</span>
))}
diff --git a/frontend/src/react/pages/settings/PurchaseSection.tsx b/frontend/src/react/pages/settings/PurchaseSection.tsx
index 197fce654f..21678a99cb 100644
--- a/frontend/src/react/pages/settings/PurchaseSection.tsx
+++ b/frontend/src/react/pages/settings/PurchaseSection.tsx
@@ -461,7 +461,7 @@ export function PurchaseSection({ onRequireEnterprise }: PurchaseSectionProps) {
<span className="text-main">
{t("subscription.purchase.seats")}
</span>
- <div className="ml-auto flex items-center h-7 rounded-lg bg-gray-200 text-gray-600">
+ <div className="ml-auto flex items-center h-7 rounded-md bg-gray-200 text-gray-600">
<button
type="button"
className="px-2 h-full rounded-l hover:bg-gray-300 disabled:opacity-50 cursor-pointer"
@@ -600,7 +600,7 @@ function PlanCard({
}) {
return (
<div
- className={`h-full flex flex-col rounded-lg p-5 border-2 ${highlighted ? "shadow-lg border-accent" : "border-block-border"}`}
+ className={`h-full flex flex-col rounded-md p-5 border-2 ${highlighted ? "shadow-lg border-accent" : "border-block-border"}`}
>
<h3 className="text-3xl font-semibold text-main">{title}</h3>
<p className="text-control-placeholder mt-1 text-sm">{description}</p>
diff --git a/frontend/src/react/pages/settings/RolesPage.tsx b/frontend/src/react/pages/settings/RolesPage.tsx
index 6afd01c221..a2d0abbe5d 100644
--- a/frontend/src/react/pages/settings/RolesPage.tsx
+++ b/frontend/src/react/pages/settings/RolesPage.tsx
@@ -226,7 +226,7 @@ function ImportPermissionModal({
if (e.target === e.currentTarget) onCancel();
}}
>
- <div className="bg-white rounded-lg shadow-lg w-[28rem] p-6">
+ <div className="bg-white rounded-md shadow-lg w-[28rem] p-6">
<div className="flex items-center justify-between mb-4">
<h3 className="text-lg font-medium">{t("role.import-from-role")}</h3>
<Button variant="ghost" size="icon" onClick={onCancel}>
@@ -316,7 +316,7 @@ function DeleteConfirmModal({
if (e.target === e.currentTarget) onCancel();
}}
>
- <div className="bg-white rounded-lg shadow-lg w-[28rem] p-6">
+ <div className="bg-white rounded-md shadow-lg w-[28rem] p-6">
<h3 className="text-lg font-medium mb-4">
{t("common.delete")} - {displayRoleTitle(roleName)}
</h3>
@@ -826,17 +826,17 @@ export function RolesPage() {
{/* Roles Table */}
{ready ? (
- <div className="border rounded-md overflow-hidden">
+ <div className="border rounded-sm overflow-hidden">
<table className="w-full text-sm">
<thead>
<tr className="border-b bg-control-bg">
- <th className="px-4 py-2 text-left font-medium w-64">
+ <th className="px-4 py-2 text-left font-medium whitespace-nowrap">
{t("role.title")}
</th>
- <th className="px-4 py-2 text-left font-medium">
+ <th className="px-4 py-2 text-left font-medium whitespace-nowrap">
{t("common.description")}
</th>
- <th className="px-4 py-2 text-right font-medium w-40" />
+ <th className="px-4 py-2 text-right font-medium whitespace-nowrap" />
</tr>
</thead>
<tbody>
@@ -845,7 +845,7 @@ export function RolesPage() {
key={role.name}
className={`border-b last:border-b-0 ${i % 2 === 1 ? "bg-gray-50" : ""}`}
>
- <td className="px-4 py-2">
+ <td className="px-4 py-2 whitespace-nowrap">
<span>{displayRoleTitle(role.name)}</span>
{!isCustomRole(role.name) && (
<Badge variant="secondary" className="ml-2 text-xs">
@@ -853,7 +853,7 @@ export function RolesPage() {
</Badge>
)}
</td>
- <td className="px-4 py-2 text-control-light truncate">
+ <td className="px-4 py-2 text-control-light">
{displayRoleDescription(role.name)}
</td>
<td className="px-4 py-2">
diff --git a/frontend/src/react/pages/settings/SemanticTypesPage.tsx b/frontend/src/react/pages/settings/SemanticTypesPage.tsx
index b8aa035a4b..d3bff7709e 100644
--- a/frontend/src/react/pages/settings/SemanticTypesPage.tsx
+++ b/frontend/src/react/pages/settings/SemanticTypesPage.tsx
@@ -382,7 +382,7 @@ export function SemanticTypesPage() {
{t("settings.sensitive-data.semantic-types.label")}
</p>
- <div className="border border-control-border rounded-md">
+ <div className="border border-control-border rounded-sm">
<table className="w-full text-sm">
<thead>
<tr className="bg-gray-50 border-b border-control-border">
@@ -1025,7 +1025,7 @@ function SemanticTemplateDrawer({
<p className="text-sm text-control-placeholder mb-4">
{t("settings.sensitive-data.semantic-types.template.description")}
</p>
- <div className="border border-control-border rounded-md overflow-hidden">
+ <div className="border border-control-border rounded-sm overflow-hidden">
<table className="w-full text-sm">
<thead>
<tr className="bg-gray-50 border-b border-control-border">
@@ -1347,9 +1347,9 @@ function IconPicker({ value, onChange }: IconPickerProps) {
</button>
)}
{open && (
- <div className="absolute left-0 top-full z-20 mt-1 bg-white border border-control-border rounded-md shadow-lg p-3">
+ <div className="absolute left-0 top-full z-20 mt-1 bg-white border border-control-border rounded-sm shadow-lg p-3">
<div
- className="w-48 h-48 flex justify-center items-center border border-dashed border-gray-300 rounded-md relative cursor-pointer"
+ className="w-48 h-48 flex justify-center items-center border border-dashed border-gray-300 rounded-sm relative cursor-pointer"
onClick={() => fileInputRef.current?.click()}
>
{tempValue ? (
@@ -1426,7 +1426,7 @@ function DeleteConfirmButton({
<Trash2 className="w-4 h-4" />
</button>
{show && (
- <div className="absolute right-0 top-full z-10 mt-1 bg-white border border-control-border rounded-md shadow-lg p-3 whitespace-nowrap">
+ <div className="absolute right-0 top-full z-10 mt-1 bg-white border border-control-border rounded-sm shadow-lg p-3 whitespace-nowrap">
<p className="text-sm mb-2">{message}</p>
<div className="flex justify-end gap-x-2">
<Button
diff --git a/frontend/src/react/pages/settings/general/AIAugmentationSection.tsx b/frontend/src/react/pages/settings/general/AIAugmentationSection.tsx
index 216087e203..c3adcba9bb 100644
--- a/frontend/src/react/pages/settings/general/AIAugmentationSection.tsx
+++ b/frontend/src/react/pages/settings/general/AIAugmentationSection.tsx
@@ -257,7 +257,7 @@ export const AIAugmentationSection = forwardRef<
</span>
</label>
<select
- className="w-48 border border-control-border rounded-md px-3 py-1.5 text-sm bg-white disabled:opacity-50"
+ className="w-48 border border-control-border rounded-sm px-3 py-1.5 text-sm bg-white disabled:opacity-50"
value={state.provider}
disabled={!canEdit}
onChange={(e) =>
diff --git a/frontend/src/react/pages/settings/general/BrandingSection.tsx b/frontend/src/react/pages/settings/general/BrandingSection.tsx
index c39a039f09..5ee22e37db 100644
--- a/frontend/src/react/pages/settings/general/BrandingSection.tsx
+++ b/frontend/src/react/pages/settings/general/BrandingSection.tsx
@@ -209,7 +209,7 @@ export const BrandingSection = forwardRef<SectionHandle, BrandingSectionProps>(
{t("settings.general.workspace.logo-aspect")}
</p>
<div
- className={`flex justify-center border-2 border-gray-300 border-dashed rounded-md relative h-48 transition-all ${
+ className={`flex justify-center border-2 border-gray-300 border-dashed rounded-sm relative h-48 transition-all ${
dropActive ? "bg-gray-300 opacity-100" : ""
} ${uploadDisabled ? "cursor-not-allowed" : "cursor-pointer hover:bg-gray-100"}`}
onClick={() => {
diff --git a/frontend/src/react/pages/settings/general/GeneralSection.tsx b/frontend/src/react/pages/settings/general/GeneralSection.tsx
index c6cafab052..9aad535cb0 100644
--- a/frontend/src/react/pages/settings/general/GeneralSection.tsx
+++ b/frontend/src/react/pages/settings/general/GeneralSection.tsx
@@ -228,7 +228,7 @@ export const GeneralSection = forwardRef<SectionHandle, GeneralSectionProps>(
className="fixed inset-0 bg-black/40"
onClick={() => setShowModal(false)}
/>
- <div className="relative bg-white rounded-lg shadow-lg p-6 max-w-md w-full mx-4 flex flex-col gap-2">
+ <div className="relative bg-white rounded-md shadow-lg p-6 max-w-md w-full mx-4 flex flex-col gap-2">
<h2 className="text-lg font-semibold">
{t("settings.general.workspace.config-updated")}
</h2>
diff --git a/frontend/src/views/DashboardHeader.vue b/frontend/src/views/DashboardHeader.vue
index d1dbd30695..03621d2903 100644
--- a/frontend/src/views/DashboardHeader.vue
+++ b/frontend/src/views/DashboardHeader.vue
@@ -15,7 +15,7 @@
</button>
<ProjectSwitchPopover />
- <div class="flex-1 flex justify-end items-center gap-x-2 sm:gap-x-3">
+ <div class="flex-1 flex justify-end items-center gap-x-2">
<NButton size="small" @click="agentStore.toggle()">
<template #icon>
<BotIcon class="w-4 h-4" />