- fix mobile style
This commit is contained in:
Kum1ta
2024-11-15 14:37:14 +01:00
parent 0f2dd0c271
commit 3013e5bd83
3 changed files with 13 additions and 17 deletions

View File

@ -6,7 +6,7 @@
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */ /* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/22 17:19:17 by edbernar #+# #+# */ /* Created: 2024/08/22 17:19:17 by edbernar #+# #+# */
/* Updated: 2024/11/15 13:53:22 by edbernar ### ########.fr */ /* Updated: 2024/11/15 13:56:00 by edbernar ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -261,7 +261,6 @@ function home3D()
{ {
document.getElementsByTagName('canvas')[1].addEventListener('click', redirection); document.getElementsByTagName('canvas')[1].addEventListener('click', redirection);
clickDetect = true; clickDetect = true;
console.log('clickDetect');
} }
} }
} }

View File

@ -3,10 +3,10 @@
/* ::: :::::::: */ /* ::: :::::::: */
/* liveChat.css :+: :+: :+: */ /* liveChat.css :+: :+: :+: */
/* +:+ +:+ +:+ */ /* +:+ +:+ +:+ */
/* By: madegryc <madegryc@student.42.fr> +#+ +:+ +#+ */ /* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/30 13:53:39 by edbernar #+# #+# */ /* Created: 2024/07/30 13:53:39 by edbernar #+# #+# */
/* Updated: 2024/10/04 20:43:32 by madegryc ### ########.fr */ /* Updated: 2024/11/15 14:36:36 by edbernar ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -87,11 +87,11 @@
} }
#buttonTypeChatHome h2 { #buttonTypeChatHome h2 {
text-align: center;
font-size: 20px; font-size: 20px;
color: #dfdfdf; color: #dfdfdf;
padding-top: 5px; padding-top: 5px;
padding-bottom: 5px; padding-bottom: 5px;
padding-left: 20px;
} }
#selected { #selected {
@ -144,9 +144,6 @@
border-radius: 100%; border-radius: 100%;
} }
#messageListChatHome .opponentMessage { #messageListChatHome .opponentMessage {
max-width: 80%; max-width: 80%;
padding: 10px; padding: 10px;
@ -187,7 +184,6 @@
position: absolute; position: absolute;
width: 348px; width: 348px;
height: 50px; height: 50px;
background-color: #0B0B0B;
bottom: 10px; bottom: 10px;
color: white; color: white;
display: flex; display: flex;
@ -196,8 +192,9 @@
#inputMessageDiv p { #inputMessageDiv p {
margin: 0; margin: 0;
margin-left: 10px; padding-left: 10px;
margin-right: 10px; padding-right: 10px;
background-color: #080808;
font-family: "Poppins"; font-family: "Poppins";
font-weight: bolder; font-weight: bolder;
font-size: 35px; font-size: 35px;
@ -276,14 +273,17 @@
} }
#chatDiv { #chatDiv {
width: 80%; width: calc(90% - 40px);
position: fixed;
left: 50%;
transform: translateX(-50%);
} }
#inputMessageDiv { #inputMessageDiv {
width: 87%; width: 100%;
} }
#inputMessage { #inputMessage {
width: 100%; width: calc(80% - 20px);
} }
} }

View File

@ -643,9 +643,6 @@ input:checked + .slider:before {
height: 150px; height: 150px;
margin: 5px; margin: 5px;
} }
#chatDiv {
width: 80%;
}
.keys{ .keys{
display: none; display: none;
} }