Browse Source

UI: JavaScript library (Module type) minor style enhancement: remove redundant space before required symbol, decrease help popover width (prod-5636).

pull/13160/head
deaflynx 2 years ago
parent
commit
ced71331ef
  1. 3
      ui-ngx/src/app/modules/home/pages/admin/resource/js-resource.component.html
  2. 4
      ui-ngx/src/app/shared/components/js-func.component.scss
  3. 3
      ui-ngx/src/assets/help/en_US/resource/js-resource-module_fn.md

3
ui-ngx/src/app/modules/home/pages/admin/resource/js-resource.component.html

@ -91,8 +91,7 @@
<label class="tb-title no-padding tb-required"
[class.tb-error]="entityForm.get('content').invalid && entityForm.get('content').touched"
style="font-size: 16px;">
{{ 'javascript.module-script' | translate }}
</label>
{{ 'javascript.module-script' | translate }}</label>
<tb-file-input *ngIf="(isAdd || isEdit)"
asButton
uploadButtonText="{{ 'javascript.upload-from-file' | translate }}"

4
ui-ngx/src/app/shared/components/js-func.component.scss

@ -85,4 +85,8 @@
color: rgb(49, 132, 149);
}
}
label.tb-title.tb-required::after {
content: "*";
}
}

3
ui-ngx/src/assets/help/en_US/resource/js-resource-module_fn.md

@ -14,7 +14,8 @@ JavaScript resource modules are advantageous for reusing custom logic. They can
- Cell content functions.
- Custom actions.
These modules can contain any JavaScript code, facilitating the reuse of specific logic. This includes variables or functions that are exported for use in other parts of the application.
These modules can contain any JavaScript code, facilitating the reuse of specific logic. This includes variables or functions<br>
that are exported for use in other parts of the application.
##### Examples
You can declare variables:

Loading…
Cancel
Save