teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

コードを追加

2020/11/01 10:34

投稿

Itta
Itta

スコア105

answer CHANGED
@@ -1,5 +1,15 @@
1
1
  (grommetについてはあまり詳しくないですが)
2
+ ```JS
2
- - heightを指定
3
+ const App = props => (
4
+ <Box overflow={'scroll'} height='500px'>
5
+ <Card height="300px" flex='false' background="brand"> sample</Card>
6
+ <Card height="300px" flex='false' background="brand"> sample</Card>
7
+ <Card height="300px" flex='false' background="brand"> sample</Card>
3
- - displayをblockに
8
+ </Box>
9
+ );
4
10
 
11
+ render(<App />);
12
+
13
+ ```
14
+
5
15
  すれば解決すると思います。