Browse Source

fix modals

pull/14085/head
Maksym Tsymbarov 8 months ago
parent
commit
63e093d345
  1. 2
      ui-ngx/src/app/modules/home/components/vc/auto-commit-settings.component.html
  2. 2
      ui-ngx/src/app/modules/home/components/vc/auto-commit-settings.component.scss
  3. 4
      ui-ngx/src/app/modules/home/pages/notification/sent/sent-notification-dialog.component.html
  4. 2
      ui-ngx/src/app/shared/components/entity/entity-type-select.component.ts
  5. 3
      ui-ngx/src/app/shared/components/vc/branch-autocomplete.component.ts

2
ui-ngx/src/app/modules/home/components/vc/auto-commit-settings.component.html

@ -60,6 +60,7 @@
<div class="flex flex-row gap-4 xs:flex-col xs:gap-0">
<tb-entity-type-select
showLabel
appearance="outline"
formControlName="entityType"
required
[filterAllowedEntityTypes]="false"
@ -67,6 +68,7 @@
</tb-entity-type-select>
<div formGroupName="config">
<tb-branch-autocomplete
appearance="outline"
emptyPlaceholder="{{ 'version-control.default' | translate }}"
[selectDefaultBranch]="false"
formControlName="branch">

2
ui-ngx/src/app/modules/home/components/vc/auto-commit-settings.component.scss

@ -13,8 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@import '../../../../../scss/constants';
:host {
.mat-mdc-card.auto-commit-settings {
margin: 8px;

4
ui-ngx/src/app/modules/home/pages/notification/sent/sent-notification-dialog.component.html

@ -172,9 +172,9 @@
</div>
<mat-divider class="divider"></mat-divider>
<mat-chip-listbox>
<mat-chip *ngFor="let recipientTitle of preview.recipientsPreview">
<mat-chip-row *ngFor="let recipientTitle of preview.recipientsPreview">
<span>{{ recipientTitle }}</span>
</mat-chip>
</mat-chip-row>
</mat-chip-listbox>
</section>
<section class="preview-group notification tb-form-panel stroked no-gap" *ngIf="preview.processedTemplates.WEB?.enabled">

2
ui-ngx/src/app/shared/components/entity/entity-type-select.component.ts

@ -66,7 +66,7 @@ export class EntityTypeSelectComponent implements ControlValueAccessor, OnInit,
additionEntityTypes: {[key in string]: string} = {};
@Input()
appearance: MatFormFieldAppearance = 'outline';
appearance: MatFormFieldAppearance = 'fill';
@Input()
@coerceBoolean()

3
ui-ngx/src/app/shared/components/vc/branch-autocomplete.component.ts

@ -93,9 +93,6 @@ export class BranchAutocompleteComponent implements ControlValueAccessor, OnInit
@Input()
emptyPlaceholder: string;
@Input()
appearance: MatFormFieldAppearance = 'outline';
@ViewChild('branchAutocomplete') matAutocomplete: MatAutocomplete;
@ViewChild('branchInput', { read: MatAutocompleteTrigger, static: true }) autoCompleteTrigger: MatAutocompleteTrigger;
@ViewChild('branchInput', {static: true}) branchInput: ElementRef<HTMLInputElement>;

Loading…
Cancel
Save