Skip to content

Commit 7296d24

Browse files
committed
make runinfo button look a bit nicer - remove shadow and make dark by default
1 parent fd33631 commit 7296d24

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/components/TopBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default function TopBar({
6767
</span>
6868
</h3>
6969

70-
<div className="bg-gray-50 border-2 border-gray-800 shadow-md flex flex-col max-w-full w-full">
70+
<div className="bg-gray-50 border-2 border-gray-200 flex flex-col max-w-full w-full">
7171
<table
7272
id={"dashboardTable"}
7373
className="text-sm max-w-full table-fixed flex divide-x divide-gray-200 text-wrap "
@@ -96,7 +96,7 @@ export default function TopBar({
9696

9797
<label id={"runInfoLabel"} className="p-2 w-full">
9898
<input className="peer/showLabel absolute scale-0" type="checkbox" />
99-
<span className="block max-h-14 overflow-hidden rounded-lg bg-gray-50 hover:bg-gray-800 hover:text-white px-4 py-0 mb-2 shadow-lg transition-all duration-300 peer-checked/showLabel:max-h-fit cursor-pointer items-center">
99+
<span className="block max-h-14 overflow-hidden rounded-lg bg-gray-600 hover:bg-gray-800 text-white px-4 py-0 mb-2 transition-all duration-300 peer-checked/showLabel:max-h-fit cursor-pointer items-center">
100100
<h3 className="flex h-14 cursor-pointer font-bold text-center items-center justify-center">
101101
Show/hide all run information
102102
</h3>

app/components/__snapshots__/TopBar.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ exports[`renders topbar unchanged 1`] = `
3838
/>
3939
</h3>
4040
<div
41-
class="bg-gray-50 border-2 border-gray-800 shadow-md flex flex-col max-w-full w-full"
41+
class="bg-gray-50 border-2 border-gray-200 flex flex-col max-w-full w-full"
4242
>
4343
<table
4444
class="text-sm max-w-full table-fixed flex divide-x divide-gray-200 text-wrap "
@@ -202,7 +202,7 @@ exports[`renders topbar unchanged 1`] = `
202202
type="checkbox"
203203
/>
204204
<span
205-
class="block max-h-14 overflow-hidden rounded-lg bg-gray-50 hover:bg-gray-800 hover:text-white px-4 py-0 mb-2 shadow-lg transition-all duration-300 peer-checked/showLabel:max-h-fit cursor-pointer items-center"
205+
class="block max-h-14 overflow-hidden rounded-lg bg-gray-600 hover:bg-gray-800 text-white px-4 py-0 mb-2 transition-all duration-300 peer-checked/showLabel:max-h-fit cursor-pointer items-center"
206206
>
207207
<h3
208208
class="flex h-14 cursor-pointer font-bold text-center items-center justify-center"

0 commit comments

Comments
 (0)