mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 07:07:13 -05:00
apply the left padding in one place
This commit is contained in:
parent
e91ca199fb
commit
b9a4908bfb
2 changed files with 6 additions and 5 deletions
|
|
@ -19,12 +19,16 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
:global(h2) {
|
:global(h2) {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
margin-left: 16px;
|
|
||||||
font-weight: bold;
|
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>
|
</style>
|
||||||
|
|
||||||
<div>
|
<div class="outer">
|
||||||
<DailyLimits {state} />
|
<DailyLimits {state} />
|
||||||
<LearningOptions {state} />
|
<LearningOptions {state} />
|
||||||
<NewOptions {state} />
|
<NewOptions {state} />
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 7fr 3fr;
|
grid-template-columns: 7fr 3fr;
|
||||||
grid-row-gap: 0.5em;
|
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 {
|
.full-grid-width {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue