File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export default function InstrumentWallCard({
1313 < Link
1414 href = { "/instrument?name=" + instrument . name }
1515 target = "_blank"
16- className = { `flex items-center justify-center text-center p-3 min-w-28 w-auto max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
16+ className = { `flex items-center justify-center text-center p-3 w-36 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
1717 ${ getStatusColour ( instrument . runstate || "UNKNOWN" ) } ${ getForegroundColour (
1818 instrument . runstate || "UNKNOWN" ,
1919 ) } `}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ exports[`renders instrumentwallcard unchanged 1`] = `
66 class = " flex"
77 >
88 <a
9- class = " flex items-center justify-center text-center p-3 min-w-28 w-auto max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
9+ class = " flex items-center justify-center text-center p-3 w-36 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
1010 bg-[#90EE90] text-black"
1111 href = " /instrument?name=Instrument"
1212 target = " _blank"
@@ -36,7 +36,7 @@ exports[`renders instrumentwallcard unchanged when runstate is unknown 1`] = `
3636 class = " flex"
3737 >
3838 <a
39- class = " flex items-center justify-center text-center p-3 min-w-28 w-auto max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
39+ class = " flex items-center justify-center text-center p-3 w-36 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
4040 bg-[#F08080] text-black"
4141 href = " /instrument?name=Instrument1"
4242 target = " _blank"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ exports[`renders sciencegroup unchanged 1`] = `
1717 class = " flex"
1818 >
1919 <a
20- class = " flex items-center justify-center text-center p-3 min-w-28 w-auto max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
20+ class = " flex items-center justify-center text-center p-3 w-36 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
2121 bg-[#90EE90] text-black"
2222 href = " /instrument?name=Instrument"
2323 target = " _blank"
@@ -42,7 +42,7 @@ exports[`renders sciencegroup unchanged 1`] = `
4242 class = " flex"
4343 >
4444 <a
45- class = " flex items-center justify-center text-center p-3 min-w-28 w-auto max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
45+ class = " flex items-center justify-center text-center p-3 w-36 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
4646 bg-[#DAA520] text-black"
4747 href = " /instrument?name=Instrument2"
4848 target = " _blank"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ exports[`renders targetstation unchanged 1`] = `
1717 class = " flex"
1818 >
1919 <a
20- class = " flex items-center justify-center text-center p-3 min-w-28 w-auto max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
20+ class = " flex items-center justify-center text-center p-3 w-36 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
2121 bg-green-900 text-white"
2222 href = " /instrument?name=Instrument"
2323 target = " _blank"
@@ -42,7 +42,7 @@ exports[`renders targetstation unchanged 1`] = `
4242 class = " flex"
4343 >
4444 <a
45- class = " flex items-center justify-center text-center p-3 min-w-28 w-auto max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
45+ class = " flex items-center justify-center text-center p-3 w-36 max-h-12 rounded-lg shadow-sm border-2 border-gray-700 dark:border-gray-200 hover:shadow-lg hover:border-black dark:hover:border-gray-700 transition-all duration-200
4646 bg-[#FFFF00] text-black"
4747 href = " /instrument?name=Instrument2"
4848 target = " _blank"
You can’t perform that action at this time.
0 commit comments