guess is works absolutly now? css is weird.
This commit is contained in:
1 parent
afb112db93
commit
009cfa19f6
3 files changed
+19
-19
No files matched your search
@@ -64,7 +64,7 @@ function TechRole({rank, fabrication, upgrade, field}) {
|
||||
|
||||
export function Details() {
|
||||
return (
|
||||
<main>
|
||||
<main style={{display: "flex", flexDirection:"column"}}>
|
||||
<div className="cyber-card">
|
||||
<div className="cyber-card__body flex flex-col">
|
||||
<div className="flex">
|
||||
@@ -76,7 +76,9 @@ export function Details() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="cyber-card" style={{marginTop: "20px"}}>
|
||||
<span style={{flexGrow:"1"}}/>
|
||||
|
||||
<div className="cyber-card" style={{marginTop: "20px", flexGrow:1}}>
|
||||
<div className="cyber-card__body">
|
||||
<Health />
|
||||
</div>
|
||||
|
||||
@@ -89,14 +89,13 @@ const header = {
|
||||
|
||||
export function WeaponsAndArmor() {
|
||||
return (
|
||||
<div style={{ display: "flex", flexDirection: "row", height: "230px" }}>
|
||||
<div style={{ display: "flex", flexDirection: "row", justifyContent:"space-between", height: "230px" }}>
|
||||
<div className="cyber-card" style={card}>
|
||||
<div className="cyber-card__header" style={header}>
|
||||
<div>Armor</div>
|
||||
</div>
|
||||
<Armor armor={wandr} />
|
||||
</div>
|
||||
<span style={{flexGrow: 1}}></span>
|
||||
<div className="cyber-card" style={card}>
|
||||
<div className="cyber-card__header" style={header}>
|
||||
<div>Weapons</div>
|
||||
|
||||
+14
-15
@@ -45,10 +45,9 @@ function SkillTable() {
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main style={{height:"100vh"}}>
|
||||
<main style={{display:"flex", flexDirection:"column", height:"100vh"}}>
|
||||
|
||||
<div className="demo-layout">
|
||||
<nav className="cyber-nav">
|
||||
<nav className="cyber-nav">
|
||||
<span className="cyber-nav__brand">Collateral</span>
|
||||
<ul className="cyber-nav__links">
|
||||
<li><span className="cyber-nav__link cyber-nav__link--active">Stats and Skills</span></li>
|
||||
@@ -56,23 +55,23 @@ export default function Home() {
|
||||
<li><span className="cyber-nav__link">Gear</span></li>
|
||||
<li><span className="cyber-nav__link">Loadouts</span></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div style={{display: "flex", flexDirection: "row", height: "100px"}}>
|
||||
<div style={{width: "400px", padding: "10px"}}>
|
||||
<div style={{position:"relative", height:"100%"}}>
|
||||
<div style={{display:"flex", flexDirection:"row", position:"absolute", height:"100%"}}>
|
||||
|
||||
<div style={{width: "400px", padding: "10px", height: "100%"}}>
|
||||
<Details />
|
||||
</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 style={{overflow:"auto"}}><Stats /></div>
|
||||
<div style={{display:"flex", flexDirection:"column"}}>
|
||||
<div style={{overflow:"auto"}}><SkillTable /></div>
|
||||
<div><WeaponsAndArmor /></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user