Commit 344b0a98 authored by Chunchi Che's avatar Chunchi Che

update css

parent eaae7951
Pipeline #20071 passed with stages
in 4 minutes and 5 seconds
body {
margin: 0;
justify-content: center;
}
.login_div {
margin: auto;
padding: 10%;
}
.login_p {
text-align: center;
}
.container {
.mora_container {
display: flex;
margin: auto;
padding: 0;
......
.container {
.wait_container {
display: flex;
margin: auto;
padding: 0;
......
// ref: https://github.com/jvcjunior/login-react-redux
// thanks!
@charset "utf-8";
html, body, div, span, applet, object, iframe,
......@@ -46,13 +48,13 @@ table {
@import
url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"),
"commom",
// "alerts",
"header",
"login-form",
"sign-in",
url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css");
// "loading";
"wait-room",
"mora";
* {
......
......@@ -18,6 +18,7 @@ import { store } from "../store";
import { useEffect } from "react";
import { useNavigate } from "react-router-dom";
import { Button } from "antd";
import "../styles/core.scss";
// TODO: 应该展示聊天信息
export default function Mora() {
......@@ -59,7 +60,7 @@ export default function Mora() {
};
return (
<div className="container">
<div className="mora_container">
<div className="item">
<Button disabled={!selectHandAble} onClick={handleSelectScissors}>
scissors
......
......@@ -24,6 +24,7 @@ import sqliteMiddleWare, { sqliteCmd } from "../middleware/sqlite";
import { Button } from "antd";
import { store } from "../store";
import { initMeExtraDeckMeta } from "../reducers/duel/extraDeckSlice";
import "../styles/core.scss";
const READY_STATE = "ready";
......@@ -87,7 +88,7 @@ export default function WaitRoom() {
};
return (
<div className="container">
<div className="wait_container">
<div className="playerRegion">
<h2>{joined ? "Room Joined!" : "Room Not Joined."}</h2>
<p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment