Skip to content

Commit a124fff

Browse files
committed
close visit checkbox ui fix
1 parent a9f7fda commit a124fff

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/config-schema.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,13 @@ export const configSchema = {
131131
enabled: {
132132
_type: Type.Boolean,
133133
_description:
134-
'Enables or disables the automatic closure of the current visit upon medication dispensing. When set to true, the system will attempt to close the visit after a successful medication dispense, subject to the conditions specified in the "visitTypes" config.',
134+
'Enables or disables the closure of the current visit upon medication dispensing. When set to true, the system will attempt to close the visit after a successful medication dispense, subject to the conditions specified in the "visitTypes" config.',
135135
_default: false,
136136
},
137137
visitTypesUuids: {
138138
_type: Type.Array,
139139
_description:
140-
'Specifies a list of visit type UUIDs that are eligible for automatic closure upon medication dispensing. If enabled, only visits of these types will be closed automatically. An empty array means no visit types are eligible for automatic closure. This setting is only relevant when "enabled" is set to true.',
140+
'Specifies a list of visit type UUIDs that are eligible for closure upon medication dispensing. If enabled, only visits of these types will be closed. An empty array means no visit types are eligible for closure. This setting is only relevant when "enabled" is set to true.',
141141
_default: [],
142142
},
143143
},

src/forms/forms.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@use '@carbon/styles/scss/spacing';
22
@use '@carbon/styles/scss/type';
3-
@import '~@openmrs/esm-styleguide/src/vars';
3+
@use '@carbon/colors';
4+
@use '~@openmrs/esm-styleguide/src/vars' as *;
45

56
// TO DO Move this styles to style - guide
67
// https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-styleguide/src/_vars.scss
@@ -156,5 +157,7 @@ $color-blue-30: #a6c8ff;
156157
.closeVisitCheckBox {
157158
& label {
158159
@include type.type-style('label-01');
160+
margin-top: spacing.$spacing-05;
161+
color: colors.$gray-70;
159162
}
160163
}

0 commit comments

Comments
 (0)