refactor CSS
This commit is contained in:
parent
56018828c3
commit
f82754a544
|
@ -30,14 +30,14 @@
|
||||||
<ProgressCircle size="S" value={$admin.onboardingProgress} />
|
<ProgressCircle size="S" value={$admin.onboardingProgress} />
|
||||||
</div>
|
</div>
|
||||||
<MenuItem disabled>
|
<MenuItem disabled>
|
||||||
<header>
|
<header class="item">
|
||||||
<Heading size="XXS">Get Started Checklist</Heading>
|
<Heading size="XXS">Get Started Checklist</Heading>
|
||||||
<ProgressCircle size="S" value={$admin.onboardingProgress} />
|
<ProgressCircle size="S" value={$admin.onboardingProgress} />
|
||||||
</header>
|
</header>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
{#each Object.keys($admin.checklist) as checklistItem, idx}
|
{#each Object.keys($admin.checklist) as checklistItem, idx}
|
||||||
<MenuItem>
|
<MenuItem>
|
||||||
<div class="checklist-item">
|
<div class="item">
|
||||||
<span>{idx + 1}. {MESSAGES[checklistItem]}</span>
|
<span>{idx + 1}. {MESSAGES[checklistItem]}</span>
|
||||||
<Checkbox value={!!$admin.checklist[checklistItem]} />
|
<Checkbox value={!!$admin.checklist[checklistItem]} />
|
||||||
</div>
|
</div>
|
||||||
|
@ -46,15 +46,9 @@
|
||||||
</ActionMenu>
|
</ActionMenu>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
header {
|
.item {
|
||||||
display: grid;
|
display: grid;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
grid-template-columns: 90% 10%;
|
grid-template-columns: 200px 20px;
|
||||||
}
|
|
||||||
|
|
||||||
.checklist-item {
|
|
||||||
display: grid;
|
|
||||||
align-items: center;
|
|
||||||
grid-template-columns: 90% 10%;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue