Website not displaying content properly when adjusting dimensions
I am trying to add breakpoints to this site to make it responsive but in my browser controls when I move the window’s width there is a white space shown to the right. I’m confused on what’s causing this issue.
React modal window doesn’t close
import c from ‘../Profile.module.css’; import { useState } from ‘react’; import { createPortal } from ‘react-dom’; import Modal from ‘../Modal/Modal’; const TransactionItem = (props) => { const modalRoot = document.querySelector(‘#root > div’); const [showModal, setShowModal] = useState(false); const short = str => str.substring(str.length – 4) + ‘…’ + str.substring(0, 5); const handleClose = () => […]