Skip to content

Commit fb8fbb5

Browse files
authored
Merge pull request #109 from ISISComputingGroup/make_cards_bigger
Make cards bigger
2 parents f908d2d + 5eed843 commit fb8fbb5

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

app/components/InstrumentWallCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
)}`}

app/components/__snapshots__/InstrumentWallCard.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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"

app/components/__snapshots__/ScienceGroup.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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"

app/components/__snapshots__/TargetStation.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)