Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion client/src/components/Dashboard/Dashboard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function DashboardTickets() {
headerActions={
<Link
to={`${ROUTES.WORKBENCH}${ROUTES.DASHBOARD}${ROUTES.TICKETS}/create`}
className="btn btn-secondary btn-sm"
className={styles['btn-new-ticket']}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would the existing class names for c-button work here? Like

Suggested change
className={styles['btn-new-ticket']}
className="c-button c-button--secondary c-button--sm"

@jmartinez-tacc jmartinez-tacc Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried that, it didn't work.
c-button classes are for <Button> some of the styling are not applied to this <Link> tag.

>
New Ticket
</Link>
Expand Down
19 changes: 19 additions & 0 deletions client/src/components/Dashboard/Dashboard.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,25 @@
var(--global-color-primary--dark);
}

/* Elements: New Ticket Button */

.btn-new-ticket {
color: var(--global-color-primary--xx-dark);
background-color: var(--global-color-primary--x-light);
border-color: var(--global-color-primary--xx-dark);
padding: 6px 18px;
border-width: var(--global-border-width--normal);
border-style: solid;
font-weight: 500;
font-size: 0.75rem; /* 12px */
}
.btn-new-ticket:hover {
text-decoration: none;
color: var(--global-color-primary--xx-dark);
background-color: var(--global-color-accent--weak);
border-color: var(--global-color-accent--normal);
}

/* Elements: System Monitor */

/* HACK: To prevent growing when table has no more rows to fill the height */
Expand Down
Loading