apply the left padding in one place

This commit is contained in:
Damien Elmes 2021-05-19 20:02:04 +10:00
parent e91ca199fb
commit b9a4908bfb
2 changed files with 6 additions and 5 deletions

View file

@ -19,12 +19,16 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<style lang="scss">
:global(h2) {
margin-top: 1em;
margin-left: 16px;
font-weight: bold;
}
.outer {
// the right margin has an indent to allow for the undo
// buttons; add the same indent on the left for balance
padding-left: 16px;
}
</style>
<div>
<div class="outer">
<DailyLimits {state} />
<LearningOptions {state} />
<NewOptions {state} />

View file

@ -26,9 +26,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
display: grid;
grid-template-columns: 7fr 3fr;
grid-row-gap: 0.5em;
// the right margin has an indent to allow for the undo
// buttons; add the same indent on the left for balance
padding-left: 16px;
}
.full-grid-width {