unfuck the height thing. not great, but better.
This commit is contained in:
1 parent
0ed097e9e7
commit
afb112db93
3 files changed
+38
-29
No files matched your search
+3
-1
@@ -1,5 +1,8 @@
|
||||
@import "cybercore-css";
|
||||
|
||||
:root {
|
||||
}
|
||||
|
||||
.stats-and-skills {
|
||||
margin-top: 20px;
|
||||
display: flex;
|
||||
@@ -37,5 +40,4 @@
|
||||
margin-left: 50px;
|
||||
margin-right: 50px;
|
||||
overflow-y: auto;
|
||||
height: 75vh
|
||||
}
|
||||
@@ -96,7 +96,7 @@ export function WeaponsAndArmor() {
|
||||
</div>
|
||||
<Armor armor={wandr} />
|
||||
</div>
|
||||
<span className="cyber-flex"></span>
|
||||
<span style={{flexGrow: 1}}></span>
|
||||
<div className="cyber-card" style={card}>
|
||||
<div className="cyber-card__header" style={header}>
|
||||
<div>Weapons</div>
|
||||
|
||||
+34
-27
@@ -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>
|
||||
</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>
|
||||
|
||||
</main>
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user