mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2025-12-11 13:26:16 +00:00
fix: chord page overlapping
fixes #57, fixes #56 fix: handle trailing spaces in lecacy chord files
This commit is contained in:
@@ -12,7 +12,10 @@ export function csvChordsToJson(csv: string): CharaChordFile {
|
||||
const [input, output] = line.split(",", 2)
|
||||
return [
|
||||
input.split("+").map(it => KEYMAP_IDS.get(it.trim())?.code ?? 0),
|
||||
output.split("").map(it => KEYMAP_IDS.get(it.trim())?.code ?? 0),
|
||||
output
|
||||
.trim()
|
||||
.split("")
|
||||
.map(it => KEYMAP_IDS.get(it)?.code ?? 0),
|
||||
]
|
||||
}),
|
||||
}
|
||||
|
||||
@@ -112,8 +112,7 @@
|
||||
flex-direction: column;
|
||||
flex-grow: 1;
|
||||
align-items: center;
|
||||
|
||||
padding: 16px;
|
||||
padding-inline: 16px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
|
||||
@@ -116,16 +116,14 @@
|
||||
}
|
||||
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
width: 100%;
|
||||
padding: 16px;
|
||||
padding: 8px;
|
||||
padding-inline-end: 16px;
|
||||
padding-block-start: 0;
|
||||
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
<h1>Layout Bootcamp</h1>
|
||||
Reference in New Issue
Block a user