Currently, I am facing a challenge in fitting the loader into the container without it being overridden by the browser. Using padding-bottom
is not an ideal solution as it results in the loader appearing un-resized and unprofessional. Any suggestions or cool methods to tackle this issue would be greatly appreciated! (You can refer to my code at the bottom).
https://i.stack.imgur.com/DrNNx.png
This is the CSS snippet I have implemented so far:
export const Container = styled.div`
padding: 250px 50px;
box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 20px 0px;
background-color: rgb(255, 255, 255);
border-radius: 8px;
margin: 25px;
bottom: 10px;
`;
Your assistance on this matter is highly appreciated!