File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import MenuItem from '@material-ui/core/MenuItem';
13
13
import Select from '@material-ui/core/Select' ;
14
14
import SimpleImageSlider from '../dist' ;
15
15
import Input from '@material-ui/core/Input' ;
16
+ import './app.scss' ;
16
17
17
18
const IMAGES = [
18
19
{ url : 'images/1.jpg' } ,
@@ -100,7 +101,7 @@ const App: React.FC = () => {
100
101
) ;
101
102
102
103
return (
103
- < div style = { { textAlign : 'center' } } >
104
+ < div style = { { textAlign : 'center' } } className = "root" >
104
105
< CssBaseline />
105
106
< AppBar style = { { position : 'relative' , height : 140 , textAlign : 'center' } } >
106
107
< h1 style = { { marginBottom : 5 } } > React Simple Image Slider Example</ h1 >
Original file line number Diff line number Diff line change
1
+ .root {
2
+ .rsis-image {
3
+ background-size : cover !important ;
4
+ }
5
+ }
You can’t perform that action at this time.
0 commit comments