diff --git a/src/components/Steps/Steps.vue b/src/components/Steps/Steps.vue
index e84fd6bb0..5cd306985 100644
--- a/src/components/Steps/Steps.vue
+++ b/src/components/Steps/Steps.vue
@@ -23,30 +23,34 @@
}"
>
-
+
+
+
@@ -217,7 +221,7 @@ export default {
*/
maybeToggleCollapsedView() {
const totalWidth = this.$refs.buttons.offsetWidth;
- const allSteps = this.$refs.buttons.querySelectorAll('li');
+ const allSteps = this.$refs.buttons.querySelectorAll('li>span');
const allStepsWidth = Array.prototype.slice
.call(allSteps)
.reduce((totalWidth, button) => {