Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
fix(Switch): add some space between error message and the switch
Browse files Browse the repository at this point in the history
  • Loading branch information
lukicenturi authored and kelsos committed May 2, 2024
1 parent 58d19f0 commit be9d4e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/forms/slider/Slider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const tickSizeInPx = computed(() => `${get(tickSize)}px`);
</label>
<FormTextDetail
v-if="!hideDetails"
class="mt-1"
class="pt-1"
:error-messages="errorMessages"
:success-messages="successMessages"
:hint="hint"
Expand Down
1 change: 1 addition & 0 deletions src/components/forms/switch/RuiSwitch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ const { hasError, hasSuccess } = useFormTextDetail(
</label>
<FormTextDetail
v-if="!hideDetails"
class="pt-1"
:error-messages="errorMessages"
:success-messages="successMessages"
:hint="hint"
Expand Down

0 comments on commit be9d4e3

Please sign in to comment.