1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-02-12 02:49:20 +00:00

remove padding from debug settings

This commit is contained in:
Dimava 2020-06-13 23:42:19 +03:00
parent 3c9c206af2
commit 117520dc7b
2 changed files with 14 additions and 2 deletions

View File

@ -87,5 +87,17 @@
} }
} }
} }
.settingsContainer_debug {
.setting {
padding-top: 0;
padding-bottom: 0;
> .desc {
margin-top: 0;
}
}
}
} }
} }

View File

@ -51,10 +51,10 @@ export class SettingsState extends TextualGameState {
if (i !== 0) { if (i !== 0) {
html += "</div>"; html += "</div>";
} }
html += `<strong class='categoryLabel'${isHidden ? " style='display:none'" : ""}>${ html += `<strong class='categoryLabel categoryLabel_${lastCategory}'${isHidden ? " style='display:none'" : ""}>${
T.settings.categories[lastCategory] T.settings.categories[lastCategory]
}</strong>`; }</strong>`;
html += `<div class='settingsContainer'${isHidden ? " style='display:none'" : ""}>`; html += `<div class='settingsContainer settingsContainer_${lastCategory}'${isHidden ? " style='display:none'" : ""}>`;
} }
html += setting.getHtml(); html += setting.getHtml();