Skip to content

Commit b5ff9fa

Browse files
authored
fix: update create template button styling (#16701)
resolves #16697 Fix styling of create template button for non-premium users to match new template button for premium users. ## Previous behavior With premium license ![image](https://github.com/user-attachments/assets/41a55a3b-0d4d-4b11-bbda-ae31c09f64b9) Without license ![image](https://github.com/user-attachments/assets/7439d139-9514-4f05-aa93-3701105b2776)
1 parent 38ad8d1 commit b5ff9fa

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

site/src/pages/TemplatesPage/CreateTemplateButton.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import AddIcon from "@mui/icons-material/AddOutlined";
21
import Inventory2 from "@mui/icons-material/Inventory2";
32
import NoteAddOutlined from "@mui/icons-material/NoteAddOutlined";
43
import UploadOutlined from "@mui/icons-material/UploadOutlined";
5-
import Button from "@mui/material/Button";
4+
import { Button } from "components/Button/Button";
65
import {
76
MoreMenu,
87
MoreMenuContent,
98
MoreMenuItem,
109
MoreMenuTrigger,
1110
} from "components/MoreMenu/MoreMenu";
11+
import { PlusIcon } from "lucide-react";
1212
import type { FC } from "react";
1313

1414
type CreateTemplateButtonProps = {
@@ -21,8 +21,9 @@ export const CreateTemplateButton: FC<CreateTemplateButtonProps> = ({
2121
return (
2222
<MoreMenu>
2323
<MoreMenuTrigger>
24-
<Button startIcon={<AddIcon />} variant="contained">
25-
Create Template
24+
<Button>
25+
<PlusIcon />
26+
Create template
2627
</Button>
2728
</MoreMenuTrigger>
2829
<MoreMenuContent>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy