Skip to content

Commit

Permalink
close visit checkbox ui fix
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldkibet committed Aug 2, 2024
1 parent a9f7fda commit a124fff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/config-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ export const configSchema = {
enabled: {
_type: Type.Boolean,
_description:
'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.',
'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.',
_default: false,
},
visitTypesUuids: {
_type: Type.Array,
_description:
'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.',
'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.',
_default: [],
},
},
Expand Down
5 changes: 4 additions & 1 deletion src/forms/forms.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@use '@carbon/styles/scss/spacing';
@use '@carbon/styles/scss/type';
@import '~@openmrs/esm-styleguide/src/vars';
@use '@carbon/colors';
@use '~@openmrs/esm-styleguide/src/vars' as *;

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

0 comments on commit a124fff

Please sign in to comment.