mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
fill width when steps exceed 2; add bottom margin
This commit is contained in:
parent
052c992093
commit
0e9f36c416
2 changed files with 10 additions and 1 deletions
|
@ -29,6 +29,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
}
|
||||
</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" />
|
||||
</ConfigEntry>
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
body {
|
||||
width: min(100vw, 40em);
|
||||
margin: 0 auto;
|
||||
// leave some space for rounded screens
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
html {
|
||||
|
|
Loading…
Reference in a new issue