Skip to content

Commit a8b1813

Browse files
smolinarirstoenescu
authored andcommitted
Small improvements to stepper example (quasarframework#543)
* Update PULL_REQUEST_TEMPLATE.md * Update PULL_REQUEST_TEMPLATE.md * Updated top stepper example. Corrected icon. * Corrected spelling mistake. * Updated icon to remove testing junk and updated stepper example 1 * Some more small improvements for the example * Some minor improvements, added tooltip to top left and right toggles.
1 parent 0d3348d commit a8b1813

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

dev/components/components/stepper.vue

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@
6969
Don't pick this one!
7070
</label>
7171
</div>
72-
</br/>
72+
<br/>
73+
7374
<p>
7475
Go ahead now with the "Continue" button. Or go back. It's nice to be able to go back too, isn't it?
7576
</p>
@@ -212,9 +213,21 @@
212213
Reset
213214
</q-btn>
214215

215-
<q-toggle v-model="loading" class="fixed-top-left" style="top: 18px; left: 18px;"/>
216+
<div class="fixed-top-left">
217+
<q-toggle v-model="loading" style="top: 18px; left: 18px;"/>
218+
<q-tooltip anchor="bottom right" self="center left" :offset="[10, 10]">
219+
Turn on to see the progress spinners.
220+
</q-tooltip>
221+
</div>
222+
223+
<div class="fixed-top-right">
224+
<q-toggle v-model="alternativeLabels" style="top: 18px; right: 18px;"/>
225+
<q-tooltip anchor="bottom left" self="center right" :offset="[10, 10]">
226+
Turn on to see the alternative lables.
227+
</q-tooltip>
228+
</div>
229+
216230

217-
<q-toggle v-model="alternativeLabels" class="fixed-top-right" style="top: 18px; right: 18px;"/>
218231

219232
<span class="label bg-amber fixed-bottom-left" style="left: 18px; bottom: 18px;">
220233
<span class="left-detail">Step</span> {{ step }} {{ stepMessage }}
@@ -230,7 +243,7 @@ export default {
230243
return {
231244
step: 1,
232245
lastStep: 5,
233-
alternativeLabels: false,
246+
alternativeLabels: true,
234247
loading: false,
235248
firstName: '',
236249
toggeledOn: false,

0 commit comments

Comments
 (0)