diff --git a/webapp/src/assets/less/variables.less b/webapp/src/assets/less/variables.less index a1ae18e2..6882ec55 100644 --- a/webapp/src/assets/less/variables.less +++ b/webapp/src/assets/less/variables.less @@ -274,11 +274,11 @@ // A text label for an input control that is highlighted .ofm-highlighted-label { color: @darkened-primary-color; + // 500 is slightly more bold than normal text (400) and less than semi-bold (600) font-weight: 500; - } -// Reduing the ui-kit mergins from 20px to 5px +// Reducing the ui-kit margins from 20px to 5px .ofm-close-pars p{ margin-bottom: 5px; } @@ -304,12 +304,12 @@ } .uk-alert-success{ - color: rgba(28, 131, 45); + color: rgb(28, 131, 45); background-color: rgba(130, 221, 145, 0.671); } } -// For links that shouldn't look style like links (such as in menus) +// For links that shouldn't look styled like links (such as in menus) .ofm-hidden-link { text-decoration: none; cursor: pointer; diff --git a/webapp/src/components/labThingsComponents/inputFromSchema.vue b/webapp/src/components/labThingsComponents/inputFromSchema.vue index 07ee7804..0622a40f 100644 --- a/webapp/src/components/labThingsComponents/inputFromSchema.vue +++ b/webapp/src/components/labThingsComponents/inputFromSchema.vue @@ -306,7 +306,7 @@ export default { return this.dataSchema.minimum; }, /** - * Is changed from default (or has no default set) + * Is the value changed from default (If no default is set this returns false) */ isChangedFomDefault() { if (this.dataSchema.default === undefined) return false;