mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 23:43:01 +00:00
updates styling
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
<li *ngIf="metadataRepresentation">
|
<div *ngIf="metadataRepresentation" class="mt-2 mb-4">
|
||||||
<button type="button" class="close float-left" aria-label="Close button" (click)="removeSelection()">
|
<button type="button" class="close float-left" aria-label="Close button" (click)="removeSelection()">
|
||||||
<span aria-hidden="true">×</span>
|
<span aria-hidden="true">×</span>
|
||||||
</button>
|
</button>
|
||||||
<span class="d-inline-block align-middle ml-1">
|
<span class="d-inline-block align-middle ml-1">
|
||||||
<ds-metadata-representation-loader [mdRepresentation]="metadataRepresentation"></ds-metadata-representation-loader>
|
<ds-metadata-representation-loader [mdRepresentation]="metadataRepresentation"></ds-metadata-representation-loader>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</div>
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
<div *ngFor="let groupModel of model.groups; let idx = index" role="group"
|
<div *ngFor="let groupModel of model.groups; let idx = index" role="group"
|
||||||
[formGroupName]="idx" [ngClass]="[getClass('element', 'group'), getClass('grid', 'group')]" cdkDrag>
|
[formGroupName]="idx" [ngClass]="[getClass('element', 'group'), getClass('grid', 'group')]" cdkDrag>
|
||||||
<ng-container *ngIf="idx > 0">
|
<ng-container *ngIf="idx > 0">
|
||||||
<button type="button" class="close float-left" aria-label="Move button" cdkDragHandle>
|
<button type="button" class="close float-left drag-button" aria-label="Move button" cdkDragHandle>
|
||||||
<i aria-hidden="true" class="fas fa-arrows-alt fa-xs"></i>
|
<i aria-hidden="true" class="fas fa-arrows-alt fa-xs"></i>
|
||||||
</button>
|
</button>
|
||||||
<ng-container *ngTemplateOutlet="startTemplate?.templateRef; context: groupModel"></ng-container>
|
<ng-container *ngTemplateOutlet="startTemplate?.templateRef; context: groupModel"></ng-container>
|
||||||
|
@@ -0,0 +1,5 @@
|
|||||||
|
@import './../../../../../../../styles/variables';
|
||||||
|
|
||||||
|
button.drag-button {
|
||||||
|
height: $button-height;
|
||||||
|
}
|
@@ -37,7 +37,8 @@ import { DynamicRowArrayModel } from '../ds-dynamic-row-array-model';
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-dynamic-form-array',
|
selector: 'ds-dynamic-form-array',
|
||||||
templateUrl: './dynamic-form-array.component.html'
|
templateUrl: './dynamic-form-array.component.html',
|
||||||
|
styleUrls: ['./dynamic-form-array.component.scss']
|
||||||
})
|
})
|
||||||
export class DsDynamicFormArrayComponent extends DynamicFormArrayComponent implements OnInit {
|
export class DsDynamicFormArrayComponent extends DynamicFormArrayComponent implements OnInit {
|
||||||
|
|
||||||
|
@@ -260,6 +260,8 @@ describe('FormBuilderService test suite', () => {
|
|||||||
id: 'testFormRowArray',
|
id: 'testFormRowArray',
|
||||||
initialCount: 5,
|
initialCount: 5,
|
||||||
notRepeatable: false,
|
notRepeatable: false,
|
||||||
|
hasRelationship: false,
|
||||||
|
submissionId: '1234',
|
||||||
groupFactory: () => {
|
groupFactory: () => {
|
||||||
return [
|
return [
|
||||||
new DynamicInputModel({id: 'testFormRowArrayGroupInput'})
|
new DynamicInputModel({id: 'testFormRowArrayGroupInput'})
|
||||||
|
Reference in New Issue
Block a user