fix background wrapper

This commit is contained in:
Hristo Nedelkov 2024-01-22 08:01:54 +02:00
parent 0a11024d23
commit 776ff3626c
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ import ContinueButton from './ContinueButton'
import ActivationValidatorSetup from './ValidatorSetup/ValidatorActivation/ActivationValidatorSetup' import ActivationValidatorSetup from './ValidatorSetup/ValidatorActivation/ActivationValidatorSetup'
import Deposit from './Deposit/Deposit' import Deposit from './Deposit/Deposit'
import { useWindowSize } from '../../hooks/useWindowSize' import { useWindowSize } from '../../hooks/useWindowSize'
import styles from './layoutGradient.module.css'
const ValidatorOnboarding = () => { const ValidatorOnboarding = () => {
const { activeStep, subStepValidatorSetup } = useSelector( const { activeStep, subStepValidatorSetup } = useSelector(
@ -26,7 +26,7 @@ const ValidatorOnboarding = () => {
const windowSize = useWindowSize() const windowSize = useWindowSize()
return ( return (
<div className="gradient-wrapper"> <div className={styles.gradientWrapper}>
<YStack <YStack
style={{ style={{
width: '100%', width: '100%',

View File

@ -1,4 +1,4 @@
.gradient-wrapper .image-container .background-img { .gradientWrapper .image-container .background-img {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 75%; left: 75%;
@ -6,7 +6,7 @@
width: auto; width: auto;
} }
.gradient-wrapper:after { .gradientWrapper:after {
display: block; display: block;
content: ''; content: '';
position: absolute; position: absolute;