unfuck the height thing. not great, but better.
This commit is contained in:
1 parent
0ed097e9e7
commit
afb112db93
3 files changed
+37
-28
No files matched your search
+33
-26
@@ -19,9 +19,33 @@ export function meta({ }: Route.MetaArgs) {
|
||||
];
|
||||
}
|
||||
|
||||
function SkillTable() {
|
||||
return (
|
||||
<div style={{display: "flex", flexDirection: "row"}}>
|
||||
<div style={{flexGrow: 1}} >
|
||||
<Awareness />
|
||||
<Body />
|
||||
<Control />
|
||||
<EducationTop />
|
||||
</div>
|
||||
<div style={{flexGrow: 1}} >
|
||||
<EducationBottom />
|
||||
<Fighting />
|
||||
<Performance />
|
||||
<RangedTop />
|
||||
</div>
|
||||
<div style={{flexGrow: 1}} >
|
||||
<RangedBottom />
|
||||
<Social />
|
||||
<Technique />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main>
|
||||
<main style={{height:"100vh"}}>
|
||||
|
||||
<div className="demo-layout">
|
||||
<nav className="cyber-nav">
|
||||
@@ -35,36 +59,19 @@ export default function Home() {
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div className="stats-and-skills">
|
||||
<div className="stats-sand-skills-details-box">
|
||||
<div style={{ display: "flex", flexDirection: "row" }}>
|
||||
<div className="stats-and-skills-details"><Details /></div>
|
||||
<div className="stats-and-skills-stats" style={{ marginLeft: "20px" }}><Stats /></div>
|
||||
</div>
|
||||
<div style={{display: "flex", flexDirection: "row", height: "100px"}}>
|
||||
<div style={{width: "400px", padding: "10px"}}>
|
||||
<Details />
|
||||
</div>
|
||||
|
||||
<div className="stats-and-skills-skill-group">
|
||||
<div className="flex-col stats-and-skills-skill-column">
|
||||
<Awareness />
|
||||
<Body />
|
||||
<Control />
|
||||
<EducationTop />
|
||||
</div>
|
||||
<div className="flex-col stats-and-skills-skill-column">
|
||||
<EducationBottom />
|
||||
<Fighting />
|
||||
<Performance />
|
||||
<RangedTop />
|
||||
</div>
|
||||
<div className="flex-col stats-and-skills-skill-column">
|
||||
<RangedBottom />
|
||||
<Social />
|
||||
<Technique />
|
||||
</div>
|
||||
<div style={{padding:"10px"}}><Stats /></div>
|
||||
|
||||
<div style={{flexGrow:10, height: "calc(100vh - 350px)"}}>
|
||||
<div style={{padding:"10px", overflow: "auto", height:"100%"}}><SkillTable /></div>
|
||||
<WeaponsAndArmor />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<WeaponsAndArmor />
|
||||
</main>
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user