upgraded ladder and fixed css issues

This commit is contained in:
Daniel Ledda
2023-01-03 12:07:41 +01:00
parent deca09fd50
commit 4e0784ce07
5 changed files with 2053 additions and 13 deletions

2049
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -15,7 +15,7 @@
"author": "Daniel Ledda", "author": "Daniel Ledda",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@djledda/ladder": "^1.0.2" "@djledda/ladder": "^1.1.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^17.0.40", "@types/node": "^17.0.40",

View File

@@ -8,8 +8,10 @@
} }
.vertical-mode .beat { .vertical-mode .beat {
padding-bottom: 2em;
align-items: center; align-items: center;
overflow: visible; overflow-x: hidden;
overflow-y: scroll;
height: inherit; height: inherit;
} }
@@ -69,4 +71,4 @@
display: inline-block; display: inline-block;
writing-mode: vertical-rl; writing-mode: vertical-rl;
text-align: right; text-align: right;
} }

View File

@@ -89,16 +89,15 @@
.root-beat-stage { .root-beat-stage {
position: relative; position: relative;
padding: 2em;
max-height: 100vh; max-height: 100vh;
margin: auto; margin: auto;
max-width: 100vw; max-width: 100vw;
transition: max-width 400ms; transition: max-width 400ms;
padding-left: 3em;
} }
.vertical-mode .root-beat-stage { .vertical-mode .root-beat-stage {
margin: auto auto; margin: auto auto;
padding-left: 3em;
height: 100vh; height: 100vh;
} }
@@ -165,4 +164,4 @@
* { * {
user-drag: none; user-drag: none;
user-select: none; user-select: none;
} }

View File

@@ -169,7 +169,7 @@ export default class RootView extends Rung<HTMLDivElement> {
</div> as HTMLElement; </div> as HTMLElement;
}; };
build(): HTMLDivElement { build() {
return ( return (
<div classes={["root", "sidebar-visible"]}> <div classes={["root", "sidebar-visible"]}>
<this.Sidebar/> <this.Sidebar/>
@@ -181,4 +181,4 @@ export default class RootView extends Rung<HTMLDivElement> {
</div> </div>
) as HTMLDivElement; ) as HTMLDivElement;
} }
} }