score:1
Accepted answer
you need to remove these:
padding: 20,
margintop: 10,
marginbottom: 10,
add height: 100vh
to styles
and give a style={{ backgroundcolor: "white" }}
to your listsubheader
comp.
Source: stackoverflow.com
Related Query
- Unable to set the grids accurately in material ui react
- Unable to set props values after delete the record from the list in React context API
- Unable to retrieve the input field of material UI using refs in react js
- Unable to Edit the Material UI Textfields in React
- Unable to set the value of a variable to state variable in react js
- How do I set the text color of primary raised buttons for React Material UI?
- how to set the border color to Card component in React material ui
- Unable to dynamically set the initial state of a Select box in Material UI
- Unable to mock the component with the given set of mocked data using React Testing Library
- React / Axios: Unable to set state on two objects at the same time
- React : Unable to set the values in the form
- How to set the DefaultRoute to another Route in React Router
- How to make the whole Card component clickable in Material UI using React JS?
- how to make material data grid width to fill the parent component in react js
- Set the data in React Context from asynchronous API call
- How to set the height of button in React Native Android
- How do you change the Stepper color on React Material UI?
- How to set the width of a React component during test?
- React: If you set state in a request animation frame will react schedule rendering on the animation frame?
- React Testing Library - Unable to find the element with data-testid
- Why set a React Component's state outside of the constructor?
- How to TEST async calls made in componentDidMount that set the state of React Component
- How do you set the Typescript type for useRef hook in React Native?
- Assets destination folder is not set Skipping react native (Images not loading in the APK)
- How to modify the default value of a Material UI prop-function in React JS?
- Error: Unable to find an element with the text when I try a test with Jest in React
- Set Material UI react TableCell width dynamically
- How do I set container within React Material UI's AppBar Component?
- React Hooks : Why is it bad practice to pass the set state funcitons to a Child Component?
- React Google Maps Unable to set scroll zoom off
More Query from same tag
- NextJS Redirect not work if user come from browser url bar
- React communicate between component
- Why in the following code useEffect hook uses the curly braces, but without return statement, it still works?
- Material UI Autocomponent: Passing style to inputProp={} creates error
- Redux-form how to update Material-UI v4 textField value?
- How to check if an element from props matches a condition?
- How to Style Material UI Select Popup?
- The select style of the list sticks out of the border
- React and CSS Animation - only animate the clicked element with a shared className
- how to create a class and another classes extends that class in react js
- Purecomponent state does not update but props do
- Enzyme: Value returns undefined when simulating onSubmit
- Empty array in useEffect vs useCallback in parent for server api call
- Is there a good way to preventDefault when dispatching an action in React/Redux?
- Using React, how do I make the value of my variable dynamic?
- Data disappears from the page when viewed
- How to use Axios API with Chart.js and React.js
- Prevent empty value in selector (reselect)
- How to use useState inside useEffect, accessing the updated useState value on component mount?
- React-Router: Not working for me
- Use env variable in helper file (Gatsby)
- Get exact width and height of images in react
- React error- Type must have a '[Symbol.iterator]()' method that returns an iterator
- Multiple Select not working, only giving last clicked value
- React Link not working in an independant component
- How should I manage multiple select fields dynamically added in React JS?
- How to toggle visibily of a React widget with a single HTML button
- Want to load the light or dark theme based on user Choice
- Stop page reloads after onClick() event - react
- Trouble making React Native background full screen