Skip to content

Commit 59955ce

Browse files
committed
Remove the border, only leave the notch, Resolves LAY2-74
1 parent 7805083 commit 59955ce

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

apps/app/components/Widget/Index.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@ const Widget = ({ children, className, hideMenu }: Props) => {
2929
const handleBack = router.pathname === "/" ? null : goBack
3030

3131
return <>
32-
<div id='widget' className={`bg-secondary-700 md:shadow-card rounded-3xl w-full sm:overflow-hidden has-expandContainerHeight:min-h-[675px] max-sm:has-openpicker:min-h-svh max-sm:min-h-[99.8svh] sm:has-openpicker:min-h-[79svh]! relative ${AppSettings.ApiVersion === 'sandbox' && 'border-t-[2px] border-[#D95E1B]'}`}>
32+
<div id='widget' className={`bg-secondary-700 md:shadow-card rounded-3xl w-full sm:overflow-hidden has-expandContainerHeight:min-h-[675px] max-sm:has-openpicker:min-h-svh max-sm:min-h-[99.8svh] sm:has-openpicker:min-h-[79svh]! relative`}>
3333
<div className="relative z-20 pb-1 sm:pb-0">
3434
{
3535
AppSettings.ApiVersion === 'sandbox' &&
36-
<div className="absolute -top-1 right-[calc(50%-68px)] bg-[#D95E1B] py-0.5 px-10 rounded-b-md text-xs scale-75">
37-
TESTNET
36+
<div className="relative z-20">
37+
<div className="absolute -top-1 right-[calc(50%-68px)] bg-[#D95E1B] py-0.5 px-10 rounded-b-md text-xs scale-75">
38+
TESTNET
39+
</div>
3840
</div>
3941
}
4042
</div>

apps/app/components/Wizard/Wizard.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ const Wizard: FC<Props> = ({ children, wizardId, className }) => {
3131

3232

3333
return <>
34-
<div id='widget' className={noToolBar ? `w-full h-full` : ` bg-secondary-700 md:shadow-card rounded-3xl w-full sm:overflow-hidden max-sm:has-openpicker:min-h-svh max-sm:min-h-[99.8svh] sm:has-openpicker:min-h-[79svh]! relative ${AppSettings.ApiVersion === 'sandbox' && 'border-t-[2px] border-[#D95E1B]'}`}>
34+
<div id='widget' className={noToolBar ? `w-full h-full` : ` bg-secondary-700 md:shadow-card rounded-3xl w-full sm:overflow-hidden max-sm:has-openpicker:min-h-svh max-sm:min-h-[99.8svh] sm:has-openpicker:min-h-[79svh]! relative`}>
3535
<div className="relative z-20 pb-1 sm:pb-0">
3636
{
3737
AppSettings.ApiVersion === 'sandbox' && !noToolBar &&
38-
<div className="absolute -top-1 right-[calc(50%-68px)] bg-[#D95E1B] py-0.5 px-10 rounded-b-md text-xs scale-75">
39-
TESTNET
38+
<div className="relative z-20">
39+
<div className="absolute -top-1 right-[calc(50%-68px)] bg-[#D95E1B] py-0.5 px-10 rounded-b-md text-xs scale-75">
40+
TESTNET
41+
</div>
4042
</div>
4143
}
4244
</div>

0 commit comments

Comments
 (0)