Skip to content

Commit 420684c

Browse files
LianaHusAniket-Engg
authored andcommitted
moved alert to the left and made it;s h responcive
1 parent f0db45d commit 420684c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

libs/remix-ui/statusbar/src/lib/components/scamDetails.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ export default function ScamDetails ({ refs, floatStyle, scamAlerts }: ScamDetai
2121
id='scamDetails'
2222
style={{
2323
position: 'absolute',
24-
bottom: '-3.3rem',
25-
left: '-4rem',
26-
height: '6rem',
24+
bottom: '-3.4rem',
25+
left: '-2.5rem',
26+
height: 'fit-content',
2727
transform: 'translate(88.5px, -80px)',
2828
willChange: 'transform',
2929
boxShadow: "0 1px 7px var(--secondary)"
3030
} }
31-
className="p-1 pb-0 mb-1 d-flex alert alert-warning border border-warning"
31+
className="p-1 pb-0 mb-0 d-flex alert alert-warning border border-warning"
3232
>
3333
<span className="align-self-center pl-4 mt-1">
3434
<i style={{ fontSize: 'xxx-large', fontWeight: 'lighter' }} className="pr-2 far fa-exclamation-triangle"></i>
3535
</span>
36-
<div className="d-flex flex-column pr-4 pt-2">
36+
<div className="d-flex flex-column pr-4 py-2">
3737
{scamAlerts && scamAlerts.map((alert, index) => (
3838
<span className="pl-4 mt-1" key={`${alert.url}${index}`}>
3939
{alert.url.length < 1 ? <FormattedMessage id={`home.scamAlertText${index + 1}`} defaultMessage={alert.message} />

0 commit comments

Comments
 (0)