Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moved scam alert to the left and made it;s h responsive #5500

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions libs/remix-ui/statusbar/src/lib/components/scamDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ export default function ScamDetails ({ refs, floatStyle, scamAlerts }: ScamDetai
id='scamDetails'
style={{
position: 'absolute',
bottom: '-3.3rem',
left: '-4rem',
height: '6rem',
bottom: '-3.4rem',
left: '-2.5rem',
height: 'fit-content',
transform: 'translate(88.5px, -80px)',
willChange: 'transform',
boxShadow: "0 1px 7px var(--secondary)"
} }
className="p-1 pb-0 mb-1 d-flex alert alert-warning border border-warning"
className="p-1 pb-0 mb-0 d-flex alert alert-warning border border-warning"
>
<span className="align-self-center pl-4 mt-1">
<i style={{ fontSize: 'xxx-large', fontWeight: 'lighter' }} className="pr-2 far fa-exclamation-triangle"></i>
</span>
<div className="d-flex flex-column pr-4 pt-2">
<div className="d-flex flex-column pr-4 py-2">
{scamAlerts && scamAlerts.map((alert, index) => (
<span className="pl-4 mt-1" key={`${alert.url}${index}`}>
{alert.url.length < 1 ? <FormattedMessage id={`home.scamAlertText${index + 1}`} defaultMessage={alert.message} />
Expand Down
Loading