Skip to content

Commit

Permalink
fix settings items border
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed Oct 31, 2024
1 parent 3a1b872 commit 731adc2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions apps/desktop/src/routes/(window-chrome)/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ import { A, type RouteSectionProps, useLocation } from "@solidjs/router";
import { cx } from "cva";
import { createResource, For } from "solid-js";
import { Button } from "@cap/ui-solid";
import { commands } from "~/utils/tauri";
import { getVersion } from "@tauri-apps/api/app";

import { commands } from "~/utils/tauri";

export default function (props: RouteSectionProps) {
const location = useLocation();

Expand Down Expand Up @@ -42,10 +43,10 @@ export default function (props: RouteSectionProps) {
<A
href={item.href}
class={cx(
"rounded-lg h-[2rem] px-[0.375rem] flex flex-row items-center gap-[0.375rem] transition-colors",
"rounded-lg h-[2rem] px-[0.375rem] flex flex-row items-center gap-[0.375rem] transition-colors border",
isActive()
? "bg-blue-50 border border-blue-200 text-blue-700"
: "hover:bg-gray-100"
? "bg-blue-50 border-blue-200 text-blue-700"
: "hover:bg-gray-100 border-transparent"
)}
>
<item.icon class="size-[1.25rem]" />
Expand Down
1 change: 1 addition & 0 deletions packages/ui-solid/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = {
],
theme: {
colors: {
transparent: "rgba(0,0,0,0)",
gray: {
50: "#FFFFFF",
100: "#F7F8FA",
Expand Down

1 comment on commit 731adc2

@vercel
Copy link

@vercel vercel bot commented on 731adc2 Oct 31, 2024

Choose a reason for hiding this comment

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

Please sign in to comment.