diff --git a/src/App.css b/src/App.css
index 7de213d..be1647d 100644
--- a/src/App.css
+++ b/src/App.css
@@ -53,6 +53,7 @@
flex-direction: column;
position:fixed;
right: 0px;
+ top: 0px;
}
.outer{
@@ -93,11 +94,11 @@
display: none;
}
-@media only screen and (min-device-width: 480px) and (max-device-width: 812px) and (orientation: landscape) {
+/* @media only screen and (min-device-width: 480px) and (max-device-width: 812px) and (orientation: landscape) {
.sidebar{
top: 0;
}
-}
+} */
@media screen and (min-width: 1440px){
.wrapper{
@@ -110,6 +111,7 @@
}
.sidebar{
+ top: unset;
right: 10px;
}
.tooltip {
diff --git a/src/Main.tsx b/src/Main.tsx
index 41d50ee..d7761be 100644
--- a/src/Main.tsx
+++ b/src/Main.tsx
@@ -47,6 +47,8 @@ const Main = (props: IProps) => {
window.location.reload();
}
+ let h = window.innerHeight;
+
return (
@@ -68,9 +70,10 @@ const Main = (props: IProps) => {
)
})}
-
+
{!props.twoPlayers ?
setResetCards(true)}
onWin={onWin}
diff --git a/src/components/Chatbot/Chatbot.module.css b/src/components/Chatbot/Chatbot.module.css
index 9bc2fb7..affc50e 100644
--- a/src/components/Chatbot/Chatbot.module.css
+++ b/src/components/Chatbot/Chatbot.module.css
@@ -1,6 +1,6 @@
.container{
- margin: 20px;
- border-radius: 10px;
+ /* margin: 20px; */
+ /* border-radius: 10px; */
color: black;
background-color: white;
}
@@ -13,7 +13,7 @@
justify-content: center;
background-color: #ebc934;
height: 70px;
- border-radius: 10px 10px 0px 0px;
+ /* border-radius: 10px 10px 0px 0px; */
width: 100%;
font-size: 14px;
}
diff --git a/src/components/Chatbot/Chatbot.tsx b/src/components/Chatbot/Chatbot.tsx
index bb55685..102a466 100644
--- a/src/components/Chatbot/Chatbot.tsx
+++ b/src/components/Chatbot/Chatbot.tsx
@@ -4,6 +4,7 @@ import styles from './Chatbot.module.css';
import Question from '../Question/Question';
interface IProps {
+ height: number;
character: ICharacter | null;
onWin: (win: boolean) => void;
win: boolean | null;
@@ -42,9 +43,9 @@ const Chatbot = (props: IProps) => {
}, []);
return (
-
+
Hat Chat
-
+
{messageState ? messageState.map((m, key) => (
diff --git a/src/components/Question/Question.module.css b/src/components/Question/Question.module.css
index a7a23f3..fca7fba 100644
--- a/src/components/Question/Question.module.css
+++ b/src/components/Question/Question.module.css
@@ -7,7 +7,7 @@
padding: 10px;
height: 70px;
background-color: #ededed;
- border-radius: 0px 0px 10px 10px;
+ /* border-radius: 0px 0px 10px 10px; */
}
.questions div{
@@ -50,7 +50,7 @@ form button{
border-radius: 0px 10px 10px 0px;
position: absolute;
height: 26px;
- right: 30px;
+ right: 10px;
width: 28px;
border-color: transparent transparent transparent #2F751C;
background-repeat: no-repeat;