We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3da4b78 commit 9474dfaCopy full SHA for 9474dfa
2 files changed
example/App.jsx
@@ -6,9 +6,9 @@ export default () => {
6
return (
7
<div css={style}>
8
<div className="content">
9
- <Carousel />
10
11
+ <div className="carousel"><Carousel /></div>
12
</div>
13
14
);
example/style.js
@@ -10,8 +10,6 @@ export default `
.carousel {
margin-top: 10px;
- width: 500px;
- margin: auto;
15
}
16
17
.text-item {
@@ -21,8 +19,9 @@ export default `
21
19
22
20
.text-item-content {
23
font-size: 20px;
24
- color: white;
25
margin: auto;
+ text-align: center;
+ color: white;
26
width: 50%;
27
28
`;
0 commit comments