Skip to content

Commit b262ee5

Browse files
committed
feat: allow individual suppression of .hide-non-error-details
1 parent 779f88d commit b262ee5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/coalesce-vue-vuetify3/src/shared.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
.hide-non-error-details {
2-
.v-input {
2+
.v-input:not(.keep-non-error-details) {
33
.v-input__details,
44
.v-messages,
55
&.v-input--switch .v-input__slot,
66
&.v-input--checkbox .v-input__slot {
7-
transition: min-height 0.3s cubic-bezier(0.25, 0.8, 0.5, 1),
7+
transition:
8+
min-height 0.3s cubic-bezier(0.25, 0.8, 0.5, 1),
89
margin-bottom 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
910
}
1011
}
1112

12-
.v-input {
13+
.v-input:not(.keep-non-error-details) {
1314
// Make the messages area have a margin and min height when not empty.
1415
// Otherwise, collapse it when empty. Min-height is important for smooth animation here.
1516
.v-messages {

0 commit comments

Comments
 (0)