linting fixes (#2733)

This commit is contained in:
David Tsay 2020-03-09 11:15:15 -07:00 committed by GitHub
parent 27a09239e3
commit a7e57c62f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 5 deletions

View File

@ -48,6 +48,7 @@
</label>
<div class="c-cs-test-h">
<div v-for="n in 5"
:key="n"
class="c-test-datum"
>
<span class="c-test-datum__label">Set</span>

View File

@ -1,10 +1,12 @@
<template>
<div>
<div v-if="!conditionalStyles.length"
class="holder c-c-button-wrapper align-left">
class="holder c-c-button-wrapper align-left"
>
<button
class="c-c-button c-c-button--minor add-criteria-button"
@click="addConditionSet">
@click="addConditionSet"
>
<span class="c-c-button__label">Use conditional styling</span>
</button>
</div>
@ -12,15 +14,18 @@
<div class="holder c-c-button-wrapper align-left">
<button
class="c-c-button c-c-button--minor add-criteria-button"
@click="removeConditionSet">
@click="removeConditionSet"
>
<span class="c-c-button__label">Remove conditional styling</span>
</button>
</div>
<ul>
<li v-for="conditionStyle in conditionalStyles"
:key="conditionStyle.conditionIdentifier.key">
:key="conditionStyle.conditionIdentifier.key"
>
<conditional-style :condition-identifier="conditionStyle.conditionIdentifier"
:condition-style="conditionStyle.style"/>
:condition-style="conditionStyle.style"
/>
</li>
</ul>
</div>