fix template markup after lint merge mutilation (#2558)

This commit is contained in:
David Tsay
2019-12-05 18:04:24 -08:00
committed by Andrew Henry
parent 14a0f84c1b
commit b3bc618bb0

View File

@ -13,6 +13,7 @@
<div <div
ref="element" ref="element"
class="c-overlay__contents" class="c-overlay__contents"
tabindex="0"
></div> ></div>
<div <div
v-if="buttons" v-if="buttons"
@ -20,35 +21,16 @@
> >
<button <button
v-for="(button, index) in buttons" v-for="(button, index) in buttons"
ref="buttons"
:key="index" :key="index"
class="c-button" class="c-button"
:class="{'c-button--major': button.emphasis}" tabindex="0"
:class="{'c-button--major': focusIndex===index}"
@focus="focusIndex=index"
@click="buttonClickHandler(button.callback)" @click="buttonClickHandler(button.callback)"
> >
{{ button.label }} {{ button.label }}
</button> </button>
<div
ref="element"
class="c-overlay__contents"
tabindex="0"
></div>
<div
v-if="buttons"
class="c-overlay__button-bar"
>
<button
v-for="(button, index) in buttons"
ref="buttons"
:key="index"
class="c-button"
tabindex="0"
:class="{'c-button--major': focusIndex===index}"
@focus="focusIndex=index"
@click="buttonClickHandler(button.callback)"
>
{{ button.label }}
</button>
</div>
</div> </div>
</div> </div>
</div> </div>