fill width when steps exceed 2; add bottom margin

This commit is contained in:
Damien Elmes 2021-04-22 17:28:14 +10:00
parent 052c992093
commit 0e9f36c416
2 changed files with 10 additions and 1 deletions

View file

@ -29,6 +29,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
} }
</script> </script>
<ConfigEntry {label} {subLabel} {value} {defaultValue} {warnings} on:revert={revert}> <ConfigEntry
{label}
{subLabel}
{value}
{defaultValue}
{warnings}
wholeLine={value.length > 2}
on:revert={revert}>
<input type="text" value={stringValue} on:blur={update} class="form-control" /> <input type="text" value={stringValue} on:blur={update} class="form-control" />
</ConfigEntry> </ConfigEntry>

View file

@ -22,6 +22,8 @@
body { body {
width: min(100vw, 40em); width: min(100vw, 40em);
margin: 0 auto; margin: 0 auto;
// leave some space for rounded screens
margin-bottom: 2em;
} }
html { html {