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