diff --git a/src/content/docs/guides/fields/_partials/_slider.mdx b/src/content/docs/guides/fields/_partials/_slider.mdx
index 2f132d7..3e3f2c6 100644
--- a/src/content/docs/guides/fields/_partials/_slider.mdx
+++ b/src/content/docs/guides/fields/_partials/_slider.mdx
@@ -25,7 +25,7 @@ const thumbData = useThumbMetadata(0);
-
@@ -36,6 +36,7 @@ const thumbData = useThumbMetadata(0);
--color-text: #333;
--color-error: #f00;
display: flex;
+ width: 300px;
align-items: center;
gap: 6px 14px;
flex-wrap: wrap;
@@ -65,18 +66,13 @@ const thumbData = useThumbMetadata(0);
}
.error {
- display: none;
+ display: block;
+ min-height: 18px;
font-size: 13px;
color: #f00;
width: 100%;
}
- &:has([aria-invalid='true']) {
- .error {
- display: block;
- }
- }
-
&:has([aria-orientation='vertical']) {
.track {
flex-direction: column;