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

質問編集履歴

2

誤字

2020/02/09 13:11

投稿

whoiwhoi
whoiwhoi

スコア48

title CHANGED
File without changes
body CHANGED
@@ -90,4 +90,4 @@
90
90
 
91
91
  ### 試したこと
92
92
 
93
- 動画と閉じるボタンを含んだdiv要素にmax-heithを設定することで、上下のはみ出しを防げるかと思い```max-height: 90vh;```や```max-height: 90%;```を設定してみたのですが、効きませんでした。
93
+ 動画と閉じるボタンを含んだdiv要素にmax-heightを設定することで、上下のはみ出しを防げるかと思い```max-height: 90vh;```や```max-height: 90%;```を設定してみたのですが、効きませんでした。

1

誤字

2020/02/09 13:11

投稿

whoiwhoi
whoiwhoi

スコア48

title CHANGED
File without changes
body CHANGED
@@ -41,7 +41,7 @@
41
41
  title="modal"
42
42
  />
43
43
  </VideoWrap>
44
- <ClseButton onClick={() => setOpen(false)}>close</ClseButton>
44
+ <CloseButton onClick={() => setOpen(false)}>close</CloseButton>
45
45
  </ModalWrap>
46
46
  );
47
47
  }
@@ -83,7 +83,7 @@
83
83
  }
84
84
  `;
85
85
 
86
- const ClseButton = styled.button`
86
+ const CloseButton = styled.button`
87
87
  z-index: 1;
88
88
  `;
89
89
  ```