Skip to content

Commit d637109

Browse files
author
Catherine Siller
authored
Merge pull request #527 from rackerlabs/fix-text-control-spec-styles
docs(spec): fix spec LESS selectors
2 parents 6688b95 + 34f669d commit d637109

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/styles/spec/text-input-spec.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
}
1414

1515
/* ----- Changed / Touched --------------- */
16-
&[hx-changed],
17-
&[hx-touched] {
16+
&[hx-dirty] {
1817
> input[type="text"]:invalid.mock-focus {
1918
.TextControl(invalid-focus);
2019
}

docs/styles/spec/textarea-spec.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
}
1414

1515
/* ----- Changed / Touched --------------- */
16-
&[hx-changed],
17-
&[hx-touched] {
16+
&[hx-dirty] {
1817
> textarea:invalid.mock-focus {
1918
.TextControl(invalid-focus);
2019
}

0 commit comments

Comments
 (0)