Skip to content

Commit e32a449

Browse files
author
Sasha Milenkovic
committed
docs: adds another pre tag wrap to value in unit example
1 parent 6267439 commit e32a449

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.examples/unit/unit-value-unit.vue renamed to .examples/unit/value-unit.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
name="value"
88
value-unit="kilometer"
99
/>
10-
<span style="display: flex">
11-
<pre>In kilometers: {{ value && value.value }}</pre>
12-
</span>
10+
<pre wrap>In kilometers: {{ value && value.value }}</pre>
1311
</FormKit>
1412
</template>

inputs/unit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ itself will be converted to `kilometers` when setting `value-unit` to `kilometer
112112
::Example
113113
---
114114
name: "Unit type examples"
115-
file: "_content/_examples/unit/unit-value-unit.vue"
115+
file: "_content/_examples/unit/value-unit.vue"
116116
---
117117
::
118118

0 commit comments

Comments
 (0)