Skip to content

Commit 08c4c2a

Browse files
committed
Small multisig tweak for fee selector
1 parent 6a2df28 commit 08c4c2a

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

renderer/components/SendAssetsForm/SharedConfirmSteps/FeeGridSelector/FeeGridSelector.tsx

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,9 +344,37 @@ const FeeGridSkeleton = ({ showGrid }: { showGrid: boolean }) => {
344344
<Box py={2} borderBottom="1.5px dashed #DEDFE2">
345345
<Grid
346346
height="128px"
347-
pb={2}
348347
templateRows="1fr 1fr"
349348
templateColumns="1fr 1fr"
349+
border="1px solid"
350+
borderRadius="4px"
351+
_dark={{
352+
borderColor: COLORS.DARK_MODE.GRAY_MEDIUM,
353+
}}
354+
// nth-of-type is preferred for ssr of nth-child
355+
sx={{
356+
"& > div:nth-of-type(1)": {
357+
borderTopLeftRadius: "4px",
358+
borderTop: "none",
359+
borderLeft: "none",
360+
},
361+
"& > div:nth-of-type(2)": {
362+
borderTopRightRadius: "4px",
363+
borderLeft: "none",
364+
borderRight: "none",
365+
borderTop: "none",
366+
},
367+
"& > div:nth-of-type(3)": {
368+
borderBottomLeftRadius: "4px",
369+
borderBottom: "none",
370+
borderLeft: "none",
371+
borderTop: "none",
372+
},
373+
"& > div:nth-of-type(4)": {
374+
borderBottomRightRadius: "4px",
375+
border: "none",
376+
},
377+
}}
350378
>
351379
{feeLabels.map((label) => (
352380
<Box
@@ -375,7 +403,9 @@ const FeeGridSkeleton = ({ showGrid }: { showGrid: boolean }) => {
375403
</Box>
376404
))}
377405
</Grid>
378-
<Text color="muted">{formatMessage(messages.seeFeesInstructions)}</Text>
406+
<Text pt={2} color="muted">
407+
{formatMessage(messages.seeFeesInstructions)}
408+
</Text>
379409
</Box>
380410
) : (
381411
<Box py={2} borderBottom="1.5px dashed #DEDFE2">

0 commit comments

Comments
 (0)