mirror of
https://forge.murkfall.net/bluesaxman/librePECS.git
synced 2026-03-13 02:04:20 -06:00
changed library_body class to more general dialog_body class
This commit is contained in:
2
main.css
2
main.css
@@ -86,7 +86,7 @@ body {
|
|||||||
transition: left 500ms, backdrop-filter 500ms;
|
transition: left 500ms, backdrop-filter 500ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
.library_body {
|
.dialog_body {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||||
grid-gap: 5%;
|
grid-gap: 5%;
|
||||||
|
|||||||
4
main.js
4
main.js
@@ -126,10 +126,12 @@ app.gui.view.id = "view";
|
|||||||
app.gui.main.appendChild(app.gui.view);
|
app.gui.main.appendChild(app.gui.view);
|
||||||
// Library popup
|
// Library popup
|
||||||
app.gui.library = new auxillery_dialog("Library");
|
app.gui.library = new auxillery_dialog("Library");
|
||||||
app.gui.library.body.classList.add("library_body");
|
app.gui.library.body.classList.add("dialog_body");
|
||||||
app.gui.main.append(app.gui.library.root);
|
app.gui.main.append(app.gui.library.root);
|
||||||
// Options popup
|
// Options popup
|
||||||
app.gui.options = new auxillery_dialog("Options");
|
app.gui.options = new auxillery_dialog("Options");
|
||||||
|
app.gui.library.body.classList.add("dialog_body");
|
||||||
|
app.gui.main.append(app.gui.library.root);
|
||||||
// pre-populate grid with emptys
|
// pre-populate grid with emptys
|
||||||
for (var x = 0; x < 16; x++) {
|
for (var x = 0; x < 16; x++) {
|
||||||
var name = "pec"+x;
|
var name = "pec"+x;
|
||||||
|
|||||||
Reference in New Issue
Block a user