提交 84cf0511 编写于 作者: 式部

fix

上级 d2e29eb4
import {Button} from '../mika-ui';
const Header = () => {
return (<header>
<Button styleType="text">按钮</Button>
</header>);
};
......
......@@ -16,7 +16,7 @@ const Panel = (props: PanelProps) => {
return (
<div
className="rounded-lg p-4 flex flex-col overflow-auto shadow bg-white"
className="rounded-lg flex flex-col overflow-auto shadow bg-white"
style={{
marginTop: '1rem',
height: '80vh',
......
......@@ -31,8 +31,8 @@ const DailyScheduleItem = (props: DailyScheduleItemProps) => {
<div>{isOpen ? '-' : '+'}</div>
</div>
{isOpen && (<>
<div className="bg-black h-1 w-full rounded-lg" style={{marginTop: '-15px'}}/>
<div style={{paddingBottom: '10px'}}>
<div className="bg-black h-0.5 w-full rounded-lg" style={{marginTop: '-15px'}}/>
<div className="pb-4">
<div className="grid grid-cols-6 gap-4 text-black text-2xl p-4">
<div className="flex justify-center">Rank</div>
<div className="flex justify-center">Athlete</div>
......
......@@ -35,12 +35,12 @@ const DisplayTexts = [
];
const Home = () => {
const displayText = useTypePrint(DisplayTexts, 100);
const displayText = useTypePrint(DisplayTexts, 50);
return (<>
<div className="home">
<div className="top">
<div></div>
{Navbar()}
<Navbar/>
<div></div>
</div>
<div className="center">
......
......@@ -27,6 +27,9 @@ const RankList = (props: RankListProps) => {
>
<Title title="Rank List"/>
<Panel>
<div className="text-black text-4xl bg-white p-4 rounded-tl-lg rounded-tr-lg select-none mb-4">
Women's Singles
</div>
<div className="grid grid-cols-5 gap-4 text-white text-2xl">
<div className="flex justify-center">Rank</div>
<div className="flex justify-center">Athlete</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册