Skip to content

Commit

Permalink
Fix button visual issues (#5386)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpople authored and Kelsey-Ethyca committed Oct 16, 2024
1 parent 3c760e5 commit 6ca6cac
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ export const SearchInput = ({ value, onChange }: SearchInputProps) => {
onChange={handleOnChange}
className="w-full"
/>
<Button onClick={onClear}>Clear</Button>
<Button onClick={onClear} className="bg-[#f5f5f5] hover:!bg-[#d9d9d9]">
Clear
</Button>
</AntSpace.Compact>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const PrivacyRequestsContainer = () => {

return (
<>
<Flex data-testid="privacy-requests" gap={4}>
<Flex data-testid="privacy-requests" gap={2}>
<Heading mb={8} fontSize="2xl" fontWeight="semibold">
Privacy Requests
</Heading>
Expand Down
1 change: 0 additions & 1 deletion clients/admin-ui/src/pages/dataset/new/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const NewDataset: NextPage = () => {
<Box>
<Button
onClick={() => setGenerateMethod("yaml")}
ghost={generateMethod === "yaml"}
data-testid="upload-yaml-btn"
className="mr-2"
>
Expand Down
2 changes: 1 addition & 1 deletion clients/admin-ui/src/pages/integrations/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const IntegrationDetailView: NextPage = () => {
<ConnectionStatusNotice testData={testData} />
</Flex>
<Spacer />
<div>
<div className="flex gap-4">
<Button
onClick={testConnection}
loading={testIsLoading}
Expand Down
4 changes: 4 additions & 0 deletions clients/admin-ui/src/theme/ant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const antTheme: AntThemeConfig = {
primaryShadow: "",
defaultShadow: "",
dangerShadow: "",
defaultBg: "#ffffff",
},
Layout: {
bodyBg: "rgb(250,250,250)",
Expand All @@ -40,5 +41,8 @@ export const antTheme: AntThemeConfig = {
Transfer: {
controlItemBgActiveHover: "rgb(206,202,194)",
},
Input: {
colorBgContainer: "#ffffff",
},
},
};

0 comments on commit 6ca6cac

Please sign in to comment.